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.001295/0.001295, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001005/0.001005, allocations: 168.9 kB / 25.69 MB, free: 8.453 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.7822/0.7822, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.282e-06/1.282e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.364e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.00962/0.009634, allocations: 10.68 MB / 262.2 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007263/0.0169, allocations: 9.191 MB / 271.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.01706, allocations: 4 kB / 271.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.01743, allocations: 143.1 kB / 271.6 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.01793, allocations: 389.6 kB / 271.9 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.02121, allocations: 1.93 MB / 273.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007659/0.02198, allocations: 0.9852 MB / 274.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.02212, allocations: 81.16 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.02262, allocations: 0.4911 MB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.02287, allocations: 263.2 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.02291, allocations: 39.98 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005398/0.02831, allocations: 5.321 MB / 281 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.02841, allocations: 119.6 kB / 281.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.02854, allocations: 167.7 kB / 281.3 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00566/0.0342, allocations: 4.908 MB / 286.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.0342, allocations: 0 / 286.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.0342, allocations: 3.938 kB / 286.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.03421, allocations: 0 / 286.2 MB, free: 4.449 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.001574/0.03578, allocations: 0.7281 MB / 287 MB, free: 3.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.03581, allocations: 19.98 kB / 287 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003093/0.03612, allocations: 131.3 kB / 287.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.03635, allocations: 220.6 kB / 287.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.03636, allocations: 28.59 kB / 287.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.0364, allocations: 39.94 kB / 287.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.03681, allocations: 0.4929 MB / 287.9 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.03683, allocations: 0 / 287.9 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.03685, allocations: 16 kB / 287.9 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.03686, allocations: 12 kB / 287.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.0371, allocations: 199.1 kB / 288.1 MB, free: 2.449 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.001585/0.03868, allocations: 1.928 MB / 290 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.03895, allocations: 174.4 kB / 290.2 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.03901, allocations: 69.31 kB / 290.3 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.03926, allocations: 139.9 kB / 290.4 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.03928, allocations: 38.56 kB / 290.4 MB, free: 28 kB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.03928, allocations: 4 kB / 290.4 MB, free: 24 kB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002278/0.04156, allocations: 0.8535 MB / 291.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.04158, allocations: 59.39 kB / 291.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.04169, allocations: 215.3 kB / 291.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.04171, allocations: 29.7 kB / 291.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.04178, allocations: 184.4 kB / 291.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.04183, allocations: 126.9 kB / 291.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.0419, allocations: 82.14 kB / 292 MB, free: 14.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.04197, allocations: 342.7 kB / 292.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.04203, allocations: 40.98 kB / 292.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.04213, allocations: 162.6 kB / 292.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.04232, allocations: 256.2 kB / 292.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.04232, allocations: 0 / 292.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004063/0.04273, allocations: 275.2 kB / 293 MB, free: 13.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.04274, allocations: 12.03 kB / 293 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.04275, allocations: 7.938 kB / 293.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.04464, allocations: 205.4 kB / 293.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.04481, allocations: 83.89 kB / 293.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006801/0.04549, allocations: 1.696 MB / 295 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.04557, allocations: 15.94 kB / 295 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.04559, allocations: 12 kB / 295.1 MB, free: 11.09 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.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 8.818e-05/0.04568, allocations: 136.5 kB / 295.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.04572, allocations: 31.97 kB / 295.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.0461, allocations: 439.7 kB / 295.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.0461, allocations: 11.98 kB / 295.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.04611, allocations: 0 / 295.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002898/0.0464, allocations: 0.576 MB / 296.2 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.04696, allocations: 0.6504 MB / 296.9 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.04696, allocations: 0 / 296.9 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.04709, allocations: 63.89 kB / 297 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006029/0.04769, allocations: 155.4 kB / 297.1 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.0477, allocations: 7.984 kB / 297.1 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001727/0.04788, allocations: 0.5344 MB / 297.6 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.04788, allocations: 0 / 297.6 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.04822, allocations: 471.7 kB / 298.1 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.04824, allocations: 27.81 kB / 298.1 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.04827, allocations: 15.98 kB / 298.2 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.04835, allocations: 12 kB / 298.2 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.04838, allocations: 23.7 kB / 298.2 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.04839, allocations: 11.98 kB / 298.2 MB, free: 7.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.067e-05/0.04845, allocations: 82.78 kB / 298.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04845, allocations: 0 / 298.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001033/0.04948, allocations: 367.2 kB / 298.6 MB, free: 7.305 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.007076/0.05656, allocations: 3.485 MB / 302.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.0569, allocations: 316.6 kB / 302.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.05691, allocations: 8 kB / 302.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.05705, allocations: 127.4 kB / 302.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.05747, allocations: 168.2 kB / 302.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.05851, allocations: 0.7561 MB / 303.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.168e-05/0.05857, allocations: 115 kB / 303.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.05879, allocations: 166.6 kB / 303.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.05902, allocations: 171.2 kB / 303.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.05903, allocations: 0 / 303.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of Templates: time 0.0197/0.07872, allocations: 21.46 MB / 325.4 MB, free: 12.45 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: 3.5912801660597324]