Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00173/0.00173, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 63.73 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1782, allocations: 50.55 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.008204/0.1865, allocations: 5.771 MB / 363.3 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.1907, allocations: 1.207 MB / 364.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000669/0.1914, allocations: 19.94 kB / 364.5 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.1919, allocations: 170.4 kB / 364.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007442/0.1927, allocations: 273.5 kB / 365 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.1933, allocations: 227.7 kB / 365.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.1945, allocations: 1.056 MB / 366.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007876/0.1953, allocations: 0.5219 MB / 366.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/0.1958, allocations: 414.6 kB / 367.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.1964, allocations: 469.9 kB / 367.6 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1966, allocations: 100 kB / 367.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.1968, allocations: 96 kB / 367.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.197, allocations: 219.3 kB / 368 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006002/0.1976, allocations: 0.5093 MB / 368.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.199, allocations: 1.094 MB / 369.6 MB, free: 1.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.199, allocations: 0 / 369.6 MB, free: 1.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.199, allocations: 0 / 369.6 MB, free: 1.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.1991, allocations: 4 kB / 369.6 MB, free: 1.867 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00279/0.2019, allocations: 1.228 MB / 370.9 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/0.202, allocations: 11.97 kB / 370.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.2022, allocations: 107.7 kB / 371 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.301/0.5032, allocations: 452.1 kB / 371.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.5034, allocations: 69.75 kB / 371.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/0.5037, allocations: 94.91 kB / 371.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.5055, allocations: 0.8637 MB / 372.4 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.5055, allocations: 4.344 kB / 372.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.5056, allocations: 42.33 kB / 372.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.5057, allocations: 23.69 kB / 372.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.5069, allocations: 0.5681 MB / 373.1 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004882/0.5118, allocations: 2.959 MB / 376 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.5123, allocations: 302.6 kB / 376.3 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.5127, allocations: 270.9 kB / 376.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.5127, allocations: 8.125 kB / 376.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.5128, allocations: 38.62 kB / 376.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.935e-06/0.5128, allocations: 0 / 376.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001589/0.5144, allocations: 0.6555 MB / 377.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.5144, allocations: 56.33 kB / 377.4 MB, free: 17.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.5151, allocations: 0.5029 MB / 377.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.5151, allocations: 36.64 kB / 377.9 MB, free: 17.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.5154, allocations: 492.5 kB / 378.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.5155, allocations: 153 kB / 378.5 MB, free: 16.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.5157, allocations: 137 kB / 378.7 MB, free: 16.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5158, allocations: 369.9 kB / 379 MB, free: 16.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.5162, allocations: 171.2 kB / 379.2 MB, free: 16.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.5166, allocations: 452.2 kB / 379.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007298/0.5174, allocations: 0.6497 MB / 380.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5174, allocations: 2.281 kB / 380.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001282/0.5187, allocations: 0.767 MB / 381.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.5187, allocations: 9.641 kB / 381.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.5187, allocations: 8.969 kB / 381.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.5191, allocations: 83.19 kB / 381.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.5198, allocations: 197 kB / 381.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.5216, allocations: 2 MB / 383.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.5222, allocations: 85.73 kB / 383.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.5222, allocations: 37.06 kB / 383.5 MB, free: 12.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000338/0.5226, allocations: 212.3 kB / 383.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5227, allocations: 62.22 kB / 383.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.5228, allocations: 66.09 kB / 383.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5228, allocations: 4.125 kB / 383.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.5228, allocations: 1.375 kB / 383.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.5228, allocations: 5.078 kB / 383.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.5237, allocations: 0.6444 MB / 384.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5237, allocations: 5.453 kB / 384.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.5242, allocations: 97.75 kB / 384.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.5244, allocations: 83.58 kB / 384.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.5245, allocations: 8 kB / 384.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.5259, allocations: 1.981 MB / 386.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5259, allocations: 1.938 kB / 386.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000975/0.5269, allocations: 0.6526 MB / 387.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.5271, allocations: 140.7 kB / 387.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.5271, allocations: 7.219 kB / 387.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.5276, allocations: 55.62 kB / 387.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5277, allocations: 28.23 kB / 387.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.5277, allocations: 9.578 kB / 387.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005259/0.5282, allocations: 352.9 kB / 387.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5282, allocations: 0 / 387.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009896/0.5292, allocations: 245 kB / 388.1 MB, free: 9.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.5294, allocations: 112.9 kB / 388.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.5305, allocations: 0.6137 MB / 388.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5305, allocations: 1.562 kB / 388.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.531, allocations: 311.2 kB / 389.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.5316, allocations: 124.4 kB / 389.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.534, allocations: 1.399 MB / 390.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.5345, allocations: 0.9324 MB / 391.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.5349, allocations: 69.25 kB / 391.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.535, allocations: 41.98 kB / 391.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5351, allocations: 0 / 391.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of Templates: time 0.01479/0.5499, allocations: 7.167 MB / 398.9 MB, free: 4.547 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches