Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 162.1 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.014/1.014, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 4 kB / 251.5 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.345e-05, allocations: 2.312 kB / 251.5 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004934/0.004968, allocations: 5.483 MB / 257 MB, free: 1.691 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.006552, allocations: 1.2 MB / 258.2 MB, free: 492 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.00681, allocations: 23.94 kB / 258.2 MB, free: 468 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.007073, allocations: 170.3 kB / 258.4 MB, free: 296 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.007436, allocations: 297.3 kB / 258.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.00775, allocations: 219.6 kB / 258.9 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.008474, allocations: 1.11 MB / 260 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.008906, allocations: 375 kB / 260.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.009393, allocations: 0.6394 MB / 261 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.009727, allocations: 378.8 kB / 261.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.009816, allocations: 96 kB / 261.5 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.009915, allocations: 100 kB / 261.6 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.01002, allocations: 219.2 kB / 261.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.01025, allocations: 371.1 kB / 262.1 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.01082, allocations: 0.7122 MB / 262.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01082, allocations: 4 kB / 262.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01082, allocations: 0 / 262.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.01083, allocations: 0 / 262.9 MB, free: 11.78 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001141/0.01197, allocations: 1.294 MB / 264.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.01201, allocations: 15.97 kB / 264.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.01216, allocations: 188.3 kB / 264.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.01252, allocations: 399.6 kB / 264.7 MB, free: 9.824 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.01256, allocations: 74.38 kB / 264.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-05/0.01264, allocations: 92.38 kB / 264.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.01332, allocations: 0.9307 MB / 265.8 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01334, allocations: 192 / 265.8 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.01338, allocations: 40.38 kB / 265.9 MB, free: 8.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.0134, allocations: 27.94 kB / 265.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.01369, allocations: 285.5 kB / 266.2 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.01632, allocations: 2.805 MB / 269 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.01652, allocations: 206.5 kB / 269.2 MB, free: 5.156 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.01666, allocations: 168 kB / 269.4 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.01668, allocations: 4 kB / 269.4 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.0167, allocations: 42.08 kB / 269.4 MB, free: 4.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 1.503e-06/0.0167, allocations: 0 / 269.4 MB, free: 4.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007174/0.01742, allocations: 452 kB / 269.8 MB, free: 4.477 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.01745, allocations: 59.34 kB / 269.9 MB, free: 4.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.01804, allocations: 0.4981 MB / 270.4 MB, free: 3.891 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.01806, allocations: 33.7 kB / 270.4 MB, free: 3.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.01858, allocations: 0.5408 MB / 271 MB, free: 3.301 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.879e-05/0.01866, allocations: 170.6 kB / 271.1 MB, free: 3.133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.01877, allocations: 140.2 kB / 271.3 MB, free: 2.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003248/0.0191, allocations: 0.539 MB / 271.8 MB, free: 2.434 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.01918, allocations: 77.92 kB / 271.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.01944, allocations: 481.2 kB / 272.4 MB, free: 1.719 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.01999, allocations: 0.6079 MB / 273 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.02, allocations: 7.938 kB / 273 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005836/0.02058, allocations: 0.5946 MB / 273.6 MB, free: 332 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.0206, allocations: 11.98 kB / 273.6 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.02061, allocations: 8 kB / 273.6 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.02084, allocations: 95.7 kB / 273.7 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.02118, allocations: 187.7 kB / 273.9 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.02246, allocations: 2.271 MB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.0227, allocations: 79.41 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.02272, allocations: 32 kB / 276.2 MB, free: 13.54 MB / 266.7 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.0001554/0.02288, allocations: 208.3 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004539/0.02333, allocations: 79.59 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.02339, allocations: 61.19 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.02339, allocations: 4 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.0234, allocations: 4 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.02341, allocations: 3.984 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.02372, allocations: 352.8 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02372, allocations: 3.938 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.02392, allocations: 87.94 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.02411, allocations: 91.52 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.02412, allocations: 8 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.02525, allocations: 2.248 MB / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02525, allocations: 0 / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.0257, allocations: 0.5483 MB / 279.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.02575, allocations: 51.59 kB / 280 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.02578, allocations: 8 kB / 280 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.02596, allocations: 43.97 kB / 280 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.02602, allocations: 31.94 kB / 280.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.02603, allocations: 15.98 kB / 280.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.02619, allocations: 302.7 kB / 280.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02619, allocations: 0 / 280.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004783/0.02667, allocations: 255.4 kB / 280.6 MB, free: 8.988 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,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.0001232/0.02679, allocations: 111.2 kB / 280.7 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005468/0.02734, allocations: 0.5221 MB / 281.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.02734, allocations: 0 / 281.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.0276, allocations: 325.1 kB / 281.6 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.02795, allocations: 98.22 kB / 281.7 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.02943, allocations: 1.272 MB / 282.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.02955, allocations: 146.6 kB / 283.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.02973, allocations: 60.94 kB / 283.1 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.03, allocations: 218.1 kB / 283.4 MB, free: 6.137 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03, allocations: 4 kB / 283.4 MB, free: 6.133 MB / 266.7 MB Notification: Performance of Templates: time 0.01237/0.04237, allocations: 7.246 MB / 290.6 MB, free: 14.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1211754460819066]