Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.001479/0.001479, allocations: 75.75 kB / 21.97 MB, free: 2.602 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: 161.9 kB / 25.33 MB, free: 8.59 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.8658/0.8658, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.849e-05, allocations: 5.266 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0121/0.01212, allocations: 10.7 MB / 261.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007447/0.01957, allocations: 9.165 MB / 270.9 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.0197, allocations: 7.938 kB / 270.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.02008, allocations: 147.1 kB / 271.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.02055, allocations: 397.5 kB / 271.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.0232, allocations: 1.899 MB / 273.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.02383, allocations: 0.989 MB / 274.3 MB, free: 120 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.02397, allocations: 73.23 kB / 274.4 MB, free: 44 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.02439, allocations: 0.4911 MB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.02464, allocations: 283.1 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.02468, allocations: 40 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00556/0.03024, allocations: 5.321 MB / 280.5 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.625e-05/0.03034, allocations: 115.6 kB / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.03047, allocations: 167.7 kB / 280.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006794/0.03726, allocations: 4.908 MB / 285.7 MB, free: 4.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.03726, allocations: 4 kB / 285.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.03726, allocations: 0 / 285.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.03727, allocations: 0 / 285.7 MB, free: 4.707 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001576/0.03885, allocations: 0.8568 MB / 286.6 MB, free: 3.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.03888, allocations: 15.98 kB / 286.6 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.03924, allocations: 135.2 kB / 286.7 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.03951, allocations: 271.3 kB / 287 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.03953, allocations: 20.66 kB / 287 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.03957, allocations: 39.94 kB / 287.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.0401, allocations: 0.5374 MB / 287.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.04012, allocations: 0 / 287.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.04014, allocations: 12 kB / 287.6 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.04015, allocations: 8 kB / 287.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.0405, allocations: 251.5 kB / 287.9 MB, free: 2.426 MB / 266.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.001932/0.04243, allocations: 2.567 MB / 290.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.04279, allocations: 215.2 kB / 290.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.0429, allocations: 88.14 kB / 290.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.04316, allocations: 147.9 kB / 290.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.04319, allocations: 49.39 kB / 290.9 MB, free: 15.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.322e-06/0.04319, allocations: 0 / 290.9 MB, free: 15.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002856/0.04605, allocations: 0.9843 MB / 291.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.04607, allocations: 59.39 kB / 292 MB, free: 14.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.04624, allocations: 274.6 kB / 292.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.04626, allocations: 37.7 kB / 292.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.04637, allocations: 243 kB / 292.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.04644, allocations: 123 kB / 292.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.04652, allocations: 91.8 kB / 292.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.04665, allocations: 0.5079 MB / 293.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.04675, allocations: 68.95 kB / 293.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.04694, allocations: 227.9 kB / 293.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.04723, allocations: 318.8 kB / 293.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.04723, allocations: 0 / 293.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000451/0.04768, allocations: 388.6 kB / 294.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.0477, allocations: 4 kB / 294.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.04771, allocations: 4 kB / 294.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.04984, allocations: 219.1 kB / 294.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.05003, allocations: 91.83 kB / 294.5 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.05106, allocations: 2.552 MB / 297.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.05115, allocations: 8 kB / 297.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.05117, allocations: 20 kB / 297.1 MB, free: 8.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.05128, allocations: 176.5 kB / 297.3 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.05134, allocations: 39.81 kB / 297.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/0.05186, allocations: 0.4963 MB / 297.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.05186, allocations: 4 kB / 297.8 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.05187, allocations: 0 / 297.8 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004153/0.05228, allocations: 0.6526 MB / 298.5 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009304/0.05321, allocations: 0.8698 MB / 299.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.05322, allocations: 0 / 299.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.05336, allocations: 63.91 kB / 299.4 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007099/0.05407, allocations: 163.4 kB / 299.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.05408, allocations: 8 kB / 299.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002339/0.05432, allocations: 0.7961 MB / 300.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.05432, allocations: 0 / 300.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.0548, allocations: 0.5706 MB / 300.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.05483, allocations: 35.78 kB / 301 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.05486, allocations: 15.94 kB / 301 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.05495, allocations: 8 kB / 301 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.05498, allocations: 27.89 kB / 301 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.055, allocations: 12 kB / 301 MB, free: 4.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.05511, allocations: 221 kB / 301.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05511, allocations: 0 / 301.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001217/0.05633, allocations: 375.1 kB / 301.6 MB, free: 3.926 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007365/0.06369, allocations: 3.449 MB / 305.1 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005365/0.06423, allocations: 437.5 kB / 305.5 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.06423, allocations: 0 / 305.5 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.06444, allocations: 158.2 kB / 305.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.06512, allocations: 177.1 kB / 305.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.06637, allocations: 0.7714 MB / 306.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.06643, allocations: 115 kB / 306.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.06665, allocations: 174.6 kB / 306.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.06671, allocations: 36.48 kB / 306.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.06671, allocations: 0 / 306.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of Templates: time 0.01803/0.08474, allocations: 19.34 MB / 326.2 MB, free: 11.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.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.395359504036605]