Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 153.4 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 173.3 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.789e-05, allocations: 6.312 kB / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004312/0.00434, allocations: 2.612 MB / 270 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.005832, allocations: 0.6075 MB / 270.6 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.005967, allocations: 4 kB / 270.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.006148, allocations: 51.56 kB / 270.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.006371, allocations: 99.05 kB / 270.7 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.006603, allocations: 71.89 kB / 270.8 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.007059, allocations: 362.7 kB / 271.1 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.007321, allocations: 107.8 kB / 271.2 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.007601, allocations: 207.5 kB / 271.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.007824, allocations: 103.7 kB / 271.5 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.007882, allocations: 32 kB / 271.6 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.007946, allocations: 32 kB / 271.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.008025, allocations: 71.73 kB / 271.7 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.008176, allocations: 111.8 kB / 271.8 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.008663, allocations: 370.8 kB / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.008667, allocations: 0 / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008668, allocations: 0 / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.008674, allocations: 0 / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001079/0.009753, allocations: 0.5248 MB / 272.7 MB, free: 1.293 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.009793, allocations: 8.922 kB / 272.7 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.009921, allocations: 56.75 kB / 272.7 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.01031, allocations: 205.3 kB / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.01035, allocations: 21.03 kB / 273 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.01041, allocations: 28.38 kB / 273 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.01096, allocations: 302 kB / 273.3 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.01097, allocations: 192 / 273.3 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.011, allocations: 12.38 kB / 273.3 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.01102, allocations: 11.94 kB / 273.3 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.0114, allocations: 186.5 kB / 273.5 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.01305, allocations: 0.8638 MB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.01347, allocations: 162.6 kB / 274.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.01373, allocations: 132.8 kB / 274.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.01374, allocations: 4 kB / 274.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.01378, allocations: 34.56 kB / 274.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.243e-06/0.01378, allocations: 0 / 274.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001661/0.01544, allocations: 0.7063 MB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.0155, allocations: 59.34 kB / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.01572, allocations: 184.4 kB / 275.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.01575, allocations: 29.7 kB / 275.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.01589, allocations: 176.5 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.01598, allocations: 91.17 kB / 275.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.01607, allocations: 53.98 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.01625, allocations: 326.8 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.01641, allocations: 72.53 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.01659, allocations: 102.7 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.01691, allocations: 173.7 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01691, allocations: 0 / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006248/0.01754, allocations: 338 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.01755, allocations: 8 kB / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01756, allocations: 0 / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/0.01789, allocations: 96.8 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.0181, allocations: 43.92 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.02079, allocations: 1.962 MB / 279.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.02091, allocations: 12.09 kB / 279.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.02093, allocations: 12 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.02113, allocations: 137.8 kB / 279.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.0212, allocations: 27.84 kB / 279.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.02126, allocations: 29.95 kB / 279.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.02127, allocations: 4 kB / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.02127, allocations: 0 / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02128, allocations: 0 / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.02246, allocations: 0.6474 MB / 279.9 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02246, allocations: 0 / 279.9 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.02265, allocations: 35.97 kB / 280 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002804/0.02293, allocations: 84.69 kB / 280 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.02296, allocations: 8 kB / 280.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.02507, allocations: 1.849 MB / 281.9 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02507, allocations: 4.031 kB / 281.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.02583, allocations: 468.2 kB / 282.4 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.02586, allocations: 15.97 kB / 282.4 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.0259, allocations: 8 kB / 282.4 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.02607, allocations: 7.984 kB / 282.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.02613, allocations: 24.06 kB / 282.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.02615, allocations: 16 kB / 282.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.0263, allocations: 141.7 kB / 282.6 MB, free: 6.891 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0263, allocations: 0 / 282.6 MB, free: 6.891 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.02673, allocations: 79.94 kB / 282.6 MB, free: 6.812 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.000146/0.02688, allocations: 107.2 kB / 282.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007882/0.02767, allocations: 362.5 kB / 283.1 MB, free: 6.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02767, allocations: 0 / 283.1 MB, free: 6.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.02817, allocations: 246.3 kB / 283.3 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.02855, allocations: 36.11 kB / 283.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.02974, allocations: 0.6607 MB / 284 MB, free: 5.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.02993, allocations: 154.9 kB / 284.2 MB, free: 5.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.383e-05/0.03, allocations: 25.88 kB / 284.2 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.03006, allocations: 24.5 kB / 284.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.03006, allocations: 0 / 284.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of Templates: time 0.008144/0.0382, allocations: 3.292 MB / 287.5 MB, free: 1.875 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.515691361972131]