Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.001286/0.001286, allocations: 84.39 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.001687/0.001687, allocations: 165.2 kB / 25.6 MB, free: 8.887 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.9388/0.9388, allocations: 158.6 MB / 187.5 MB, free: 2.805 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.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.125e-05, allocations: 10.25 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01068/0.0107, allocations: 11.68 MB / 263.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007798/0.0185, allocations: 9.313 MB / 272.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.01877, allocations: 11.94 kB / 272.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.0193, allocations: 186.8 kB / 272.7 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007634/0.02006, allocations: 0.559 MB / 273.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.02419, allocations: 2.004 MB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.02552, allocations: 1.41 MB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.02576, allocations: 127 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008619/0.02662, allocations: 0.7015 MB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.02709, allocations: 398.8 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.02716, allocations: 52 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006007/0.03317, allocations: 5.337 MB / 283.2 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.03332, allocations: 163.5 kB / 283.4 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.03356, allocations: 239.6 kB / 283.6 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007759/0.04132, allocations: 5.044 MB / 288.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.04133, allocations: 0 / 288.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.04133, allocations: 4 kB / 288.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.04134, allocations: 0 / 288.7 MB, free: 1.906 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002053/0.04339, allocations: 1.005 MB / 289.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.04343, allocations: 11.98 kB / 289.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.04387, allocations: 190.8 kB / 289.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.04418, allocations: 311.2 kB / 290.2 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.04421, allocations: 33 kB / 290.2 MB, free: 308 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.04426, allocations: 59.92 kB / 290.3 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.04487, allocations: 0.6892 MB / 291 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.04488, allocations: 4 kB / 291 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.04491, allocations: 16 kB / 291 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.04492, allocations: 12 kB / 291 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.04527, allocations: 294.5 kB / 291.3 MB, free: 15.12 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.04759, allocations: 3.193 MB / 294.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.04802, allocations: 288.6 kB / 294.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.04812, allocations: 108.4 kB / 294.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.04839, allocations: 168.1 kB / 295 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.04842, allocations: 45.7 kB / 295.1 MB, free: 11.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.964e-06/0.04842, allocations: 0 / 295.1 MB, free: 11.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.004129/0.05255, allocations: 1.442 MB / 296.5 MB, free: 9.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.05257, allocations: 59.89 kB / 296.6 MB, free: 9.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.05277, allocations: 316 kB / 296.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.05279, allocations: 37.7 kB / 296.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.05291, allocations: 291.7 kB / 297.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.933e-05/0.05301, allocations: 198.2 kB / 297.4 MB, free: 8.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.05312, allocations: 131.9 kB / 297.5 MB, free: 8.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.05325, allocations: 0.5195 MB / 298.1 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.05334, allocations: 77.25 kB / 298.1 MB, free: 8.055 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.05353, allocations: 300.6 kB / 298.4 MB, free: 7.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.05387, allocations: 427.3 kB / 298.8 MB, free: 7.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.05387, allocations: 0 / 298.8 MB, free: 7.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005956/0.05447, allocations: 0.5197 MB / 299.4 MB, free: 6.637 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.05448, allocations: 8 kB / 299.4 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.05449, allocations: 4 kB / 299.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004095/0.05859, allocations: 454.7 kB / 299.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.05887, allocations: 143.8 kB / 300 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.07979, allocations: 17.38 MB / 317.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.08011, allocations: 16 kB / 317.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.08014, allocations: 27.98 kB / 317.4 MB, free: 3.383 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002298/0.08037, allocations: 192.4 kB / 317.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.08046, allocations: 63.83 kB / 317.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007651/0.08122, allocations: 0.7002 MB / 318.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.08123, allocations: 11.98 kB / 318.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.08123, allocations: 0 / 318.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005646/0.0818, allocations: 0.7368 MB / 319.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.08299, allocations: 1.129 MB / 320.2 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.08299, allocations: 0 / 320.2 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.0832, allocations: 99.89 kB / 320.3 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.08458, allocations: 374.8 kB / 320.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.08462, allocations: 12 kB / 320.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.08644, allocations: 3.531 MB / 324.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.08644, allocations: 0 / 324.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007169/0.08715, allocations: 0.7785 MB / 325 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.0872, allocations: 43.59 kB / 325 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.08724, allocations: 19.95 kB / 325.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.08735, allocations: 12 kB / 325.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.0874, allocations: 40.42 kB / 325.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.08743, allocations: 19.92 kB / 325.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.08754, allocations: 226.9 kB / 325.4 MB, free: 11 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08754, allocations: 0 / 325.4 MB, free: 11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00154/0.08908, allocations: 427.2 kB / 325.8 MB, free: 10.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse5.phase,$cse6,$cse9.phase,$cse10,$cse11.phase,$cse12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007334/0.09642, allocations: 3.496 MB / 329.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007463/0.09716, allocations: 0.5463 MB / 329.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.09717, allocations: 5.062 kB / 329.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.09757, allocations: 0.5552 MB / 330.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.09825, allocations: 236.2 kB / 330.6 MB, free: 5.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.09978, allocations: 1.134 MB / 331.7 MB, free: 4.516 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.745e-05/0.09987, allocations: 140 kB / 331.9 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.1002, allocations: 211.9 kB / 332.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.1005, allocations: 262 kB / 332.3 MB, free: 3.891 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1005, allocations: 0 / 332.3 MB, free: 3.891 MB / 314.7 MB Notification: Performance of Templates: time 0.1216/0.2221, allocations: 25.61 MB / 357.9 MB, free: 86.32 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.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: 4.277442682068795]