Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009033/0.0009033, allocations: 150.5 kB / 24.8 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8996/0.8996, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.806e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02511/0.02513, allocations: 11.69 MB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009727/0.03486, allocations: 9.309 MB / 289.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.03501, allocations: 11.94 kB / 289.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.0354, allocations: 182.8 kB / 289.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.03596, allocations: 0.5552 MB / 290.2 MB, free: 384 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1117/0.1476, allocations: 1.998 MB / 292.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.149, allocations: 1.408 MB / 293.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.1492, allocations: 128 kB / 293.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009422/0.1502, allocations: 0.7077 MB / 294.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.1512, allocations: 394.2 kB / 294.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.723e-05/0.1513, allocations: 52.88 kB / 294.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007342/0.1587, allocations: 5.336 MB / 300.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1588, allocations: 169.2 kB / 300.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.159, allocations: 237.6 kB / 300.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006629/0.1657, allocations: 5.041 MB / 305.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1657, allocations: 0 / 305.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1657, allocations: 1.719 kB / 305.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1657, allocations: 0 / 305.6 MB, free: 14.53 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.001374/0.167, allocations: 1.001 MB / 306.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1671, allocations: 12.02 kB / 306.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.1675, allocations: 187.7 kB / 306.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1677, allocations: 320.7 kB / 307.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.1677, allocations: 35.69 kB / 307.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.1678, allocations: 59.83 kB / 307.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.1683, allocations: 0.6896 MB / 307.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1683, allocations: 10.75 kB / 307.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.1683, allocations: 20.31 kB / 307.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1683, allocations: 13.72 kB / 307.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.1686, allocations: 281.8 kB / 308.2 MB, free: 12.09 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.001713/0.1704, allocations: 3.189 MB / 311.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.1707, allocations: 298.8 kB / 311.7 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.05e-05/0.1708, allocations: 117.4 kB / 311.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.1711, allocations: 169.6 kB / 312 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.1711, allocations: 36.89 kB / 312 MB, free: 8.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.593e-06/0.1711, allocations: 0.8125 kB / 312 MB, free: 8.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.003833/0.1749, allocations: 1.447 MB / 313.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.425e-05/0.1749, allocations: 55.91 kB / 313.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.175, allocations: 318.3 kB / 313.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1751, allocations: 33.08 kB / 313.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.1751, allocations: 287.4 kB / 314.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.1752, allocations: 198.1 kB / 314.3 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-05/0.1753, allocations: 133.6 kB / 314.5 MB, free: 6.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.1754, allocations: 0.5226 MB / 315 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.1754, allocations: 83.89 kB / 315.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1756, allocations: 291.1 kB / 315.4 MB, free: 5.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.1758, allocations: 429.2 kB / 315.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1758, allocations: 0 / 315.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004907/0.1763, allocations: 0.5143 MB / 316.3 MB, free: 4.672 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1763, allocations: 8 kB / 316.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1763, allocations: 7.531 kB / 316.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004055/0.1804, allocations: 456.9 kB / 316.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.1806, allocations: 142 kB / 316.9 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/0.2007, allocations: 17.38 MB / 334.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.2008, allocations: 23.98 kB / 334.3 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.2008, allocations: 20 kB / 334.3 MB, free: 1.977 MB / 282.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.0001273/0.2009, allocations: 193.5 kB / 334.5 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.201, allocations: 55.7 kB / 334.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.2017, allocations: 0.7028 MB / 335.3 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.2017, allocations: 15.98 kB / 335.3 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2017, allocations: 0 / 335.3 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004988/0.2022, allocations: 0.7278 MB / 336 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2032, allocations: 1.134 MB / 337.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2032, allocations: 0 / 337.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.2034, allocations: 109.8 kB / 337.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.2049, allocations: 366.8 kB / 337.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.205, allocations: 12 kB / 337.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.2066, allocations: 3.53 MB / 341.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2066, allocations: 0 / 341.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.2073, allocations: 0.7787 MB / 341.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.2073, allocations: 47.8 kB / 342 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.2073, allocations: 23.94 kB / 342 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.2074, allocations: 8 kB / 342 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.2075, allocations: 40.42 kB / 342 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.2075, allocations: 15.98 kB / 342.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.641e-05/0.2076, allocations: 225.7 kB / 342.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2076, allocations: 0 / 342.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001236/0.2088, allocations: 427.2 kB / 342.7 MB, free: 9.328 MB / 298.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.007404/0.2162, allocations: 3.49 MB / 346.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006136/0.2168, allocations: 0.5577 MB / 346.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2169, allocations: 0 / 346.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.2172, allocations: 0.5514 MB / 347.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.2179, allocations: 244.7 kB / 347.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2192, allocations: 1.138 MB / 348.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.483e-05/0.2193, allocations: 140 kB / 348.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002583/0.2195, allocations: 210.5 kB / 349 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.2199, allocations: 262 kB / 349.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2199, allocations: 0 / 349.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of Templates: time 0.02348/0.2433, allocations: 25.6 MB / 374.9 MB, free: 9.379 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.113601060118526]