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.0008414/0.0008414, allocations: 75.75 kB / 21.97 MB, free: 2.594 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.001014/0.001014, allocations: 161.5 kB / 25.32 MB, free: 9.121 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 0.9379/0.9379, allocations: 158.6 MB / 187.2 MB, free: 2.938 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.064e-06/2.064e-06, allocations: 0 / 251.1 MB, free: 7.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.421e-05, allocations: 2.312 kB / 251.1 MB, free: 7.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007996/0.00803, allocations: 5.593 MB / 256.7 MB, free: 1.945 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.01179, allocations: 1.193 MB / 257.9 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.01247, allocations: 23.88 kB / 257.9 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.01294, allocations: 174.3 kB / 258.1 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007456/0.01369, allocations: 293.2 kB / 258.3 MB, free: 260 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.0143, allocations: 223.6 kB / 258.6 MB, free: 36 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.01554, allocations: 1.106 MB / 259.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008184/0.01636, allocations: 379 kB / 260 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.01702, allocations: 0.6394 MB / 260.7 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.01747, allocations: 367 kB / 261 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.01759, allocations: 100 kB / 261.1 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.01771, allocations: 96 kB / 261.2 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.01786, allocations: 223.1 kB / 261.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.01814, allocations: 363.2 kB / 261.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.01888, allocations: 0.7278 MB / 262.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.01889, allocations: 0 / 262.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.01889, allocations: 4 kB / 262.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.0189, allocations: 0 / 262.5 MB, free: 12.04 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.001673/0.02058, allocations: 1.279 MB / 263.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.603e-05/0.02065, allocations: 15.98 kB / 263.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.02086, allocations: 184.3 kB / 264 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.02136, allocations: 403.6 kB / 264.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.02141, allocations: 74.38 kB / 264.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.02154, allocations: 96.38 kB / 264.6 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/0.02243, allocations: 0.9934 MB / 265.6 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.02245, allocations: 192 / 265.6 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.0225, allocations: 44.38 kB / 265.6 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.02252, allocations: 23.94 kB / 265.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.02301, allocations: 355.6 kB / 266 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.02614, allocations: 2.79 MB / 268.8 MB, free: 5.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.02648, allocations: 218.9 kB / 269 MB, free: 5.289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.02673, allocations: 188 kB / 269.2 MB, free: 5.098 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.02676, allocations: 11.94 kB / 269.2 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.02679, allocations: 42.08 kB / 269.2 MB, free: 5.035 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.02679, allocations: 0 / 269.2 MB, free: 5.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.001011/0.0278, allocations: 483.9 kB / 269.7 MB, free: 4.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.02783, allocations: 59.41 kB / 269.7 MB, free: 4.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.02827, allocations: 0.5139 MB / 270.3 MB, free: 3.949 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.0283, allocations: 33.7 kB / 270.3 MB, free: 3.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.02857, allocations: 0.5408 MB / 270.8 MB, free: 3.359 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.02868, allocations: 162.6 kB / 271 MB, free: 3.199 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.02883, allocations: 144.2 kB / 271.1 MB, free: 3.047 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.029, allocations: 0.5351 MB / 271.7 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.02917, allocations: 97.94 kB / 271.8 MB, free: 2.406 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.02958, allocations: 0.4935 MB / 272.3 MB, free: 1.742 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/0.0302, allocations: 0.6431 MB / 272.9 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.03021, allocations: 0 / 272.9 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00323/0.03344, allocations: 0.6529 MB / 273.6 MB, free: 268 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.03346, allocations: 11.98 kB / 273.6 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.03347, allocations: 8 kB / 273.6 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/0.03381, allocations: 92.06 kB / 273.7 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.0343, allocations: 187.8 kB / 273.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.03587, allocations: 2.305 MB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.03618, allocations: 83.39 kB / 276.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.03622, allocations: 36 kB / 276.3 MB, free: 13.43 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.0001721/0.03639, allocations: 212.3 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/0.03648, allocations: 75.56 kB / 276.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.03654, allocations: 61.2 kB / 276.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.03655, allocations: 11.92 kB / 276.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.03656, allocations: 4 kB / 276.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.03657, allocations: 0 / 276.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.03704, allocations: 448.1 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.03704, allocations: 0 / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.03733, allocations: 103.9 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/0.03756, allocations: 83.48 kB / 277.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.03758, allocations: 12 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.03901, allocations: 2.286 MB / 279.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.03901, allocations: 7.938 kB / 279.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.03971, allocations: 0.5759 MB / 280.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.03977, allocations: 55.53 kB / 280.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.03982, allocations: 11.98 kB / 280.2 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.04007, allocations: 43.97 kB / 280.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.04013, allocations: 31.89 kB / 280.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.04015, allocations: 15.98 kB / 280.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002492/0.0404, allocations: 322.8 kB / 280.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0404, allocations: 0 / 280.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000659/0.04106, allocations: 255.4 kB / 280.8 MB, free: 8.656 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.0001289/0.04119, allocations: 107.2 kB / 281 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.04193, allocations: 0.5497 MB / 281.5 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.04193, allocations: 4 kB / 281.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.04228, allocations: 345.2 kB / 281.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.0429, allocations: 93.97 kB / 281.9 MB, free: 7.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.04474, allocations: 1.28 MB / 283.2 MB, free: 6.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/0.04483, allocations: 150.6 kB / 283.4 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.04501, allocations: 64.94 kB / 283.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.04509, allocations: 36.5 kB / 283.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04509, allocations: 0 / 283.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of Templates: time 0.01104/0.05613, allocations: 6.778 MB / 290.2 MB, free: 15.18 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.203571385703981]