Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001049/0.001049, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002517, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001049/0.001049, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002349, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9257/0.9257, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07755/1.003, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.217e-06/1.025e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01063/0.01064, allocations: 11.85 MB / 256.4 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00787/0.01851, allocations: 9.507 MB / 265.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.0187, allocations: 7.938 kB / 265.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.01904, allocations: 194.7 kB / 266.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006162/0.01966, allocations: 0.5474 MB / 266.6 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.02286, allocations: 1.917 MB / 268.6 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008975/0.02376, allocations: 1.421 MB / 270 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.02395, allocations: 127 kB / 270.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.02453, allocations: 0.7367 MB / 270.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.02485, allocations: 374.9 kB / 271.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.0249, allocations: 52 kB / 271.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1151/0.14, allocations: 5.453 MB / 276.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.1402, allocations: 126.5 kB / 276.8 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.1406, allocations: 203.7 kB / 277 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007176/0.1478, allocations: 4.845 MB / 281.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-05/0.1478, allocations: 0 / 281.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1478, allocations: 0 / 281.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.1478, allocations: 7.469 kB / 281.9 MB, free: 5.379 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.003539/0.1514, allocations: 1.631 MB / 283.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1514, allocations: 10.72 kB / 283.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.1518, allocations: 263.6 kB / 283.8 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.1521, allocations: 259.3 kB / 284 MB, free: 4.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1521, allocations: 35.09 kB / 284.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.1522, allocations: 58.86 kB / 284.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.1526, allocations: 0.6633 MB / 284.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1526, allocations: 7.828 kB / 284.8 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.1527, allocations: 24.84 kB / 284.8 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1527, allocations: 10.75 kB / 284.8 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.153, allocations: 274.2 kB / 285.1 MB, free: 4.148 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.1547, allocations: 2.407 MB / 287.5 MB, free: 18.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.155, allocations: 262.9 kB / 287.8 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.1551, allocations: 101.7 kB / 287.9 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.1553, allocations: 154.1 kB / 288 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1554, allocations: 37.25 kB / 288 MB, free: 18.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.593e-06/0.1554, allocations: 1.094 kB / 288 MB, free: 18.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.004193/0.1596, allocations: 1.372 MB / 289.4 MB, free: 18.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.1596, allocations: 62.12 kB / 289.5 MB, free: 18.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1597, allocations: 258.6 kB / 289.7 MB, free: 18.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1597, allocations: 34.36 kB / 289.8 MB, free: 18.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.1598, allocations: 231.6 kB / 290 MB, free: 18.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.1599, allocations: 198.4 kB / 290.2 MB, free: 18.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.1599, allocations: 117.2 kB / 290.3 MB, free: 18.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.16, allocations: 354.4 kB / 290.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.1601, allocations: 71.44 kB / 290.7 MB, free: 17.74 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1602, allocations: 220.3 kB / 290.9 MB, free: 17.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1604, allocations: 352.4 kB / 291.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1604, allocations: 0 / 291.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004273/0.1608, allocations: 418 kB / 291.7 MB, free: 17.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1608, allocations: 15 kB / 291.7 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1609, allocations: 8.312 kB / 291.7 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004652/0.1655, allocations: 430.3 kB / 292.1 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.1658, allocations: 165.8 kB / 292.3 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009683/0.1668, allocations: 2.803 MB / 295.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1669, allocations: 20.03 kB / 295.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.1669, allocations: 30.41 kB / 295.1 MB, free: 14.54 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.0001044/0.167, allocations: 152 kB / 295.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1671, allocations: 67.73 kB / 295.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.1676, allocations: 0.6158 MB / 296 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.1676, allocations: 13.75 kB / 296 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1676, allocations: 0 / 296 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003143/0.1679, allocations: 0.6103 MB / 296.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.1686, allocations: 0.9226 MB / 297.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1686, allocations: 0 / 297.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.1689, allocations: 122.9 kB / 297.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.1689, allocations: 43.09 kB / 297.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.17, allocations: 323.3 kB / 298 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.17, allocations: 16.77 kB / 298 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003493/0.1703, allocations: 1.048 MB / 299.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1703, allocations: 0 / 299.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.1708, allocations: 0.6583 MB / 299.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1708, allocations: 22.64 kB / 299.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1709, allocations: 7.25 kB / 299.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.171, allocations: 44.52 kB / 299.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.171, allocations: 13.91 kB / 299.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.756e-05/0.171, allocations: 103.1 kB / 299.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.171, allocations: 0 / 299.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002233/0.1733, allocations: 421.6 kB / 300.3 MB, free: 12.1 MB / 282.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 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00742/0.1807, allocations: 3.497 MB / 303.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005209/0.1812, allocations: 467.3 kB / 304.3 MB, free: 8.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/0.1812, allocations: 8 kB / 304.3 MB, free: 8.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.1815, allocations: 232.3 kB / 304.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.182, allocations: 297.9 kB / 304.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/0.1886, allocations: 1.106 MB / 305.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/0.1887, allocations: 142.2 kB / 306 MB, free: 7.027 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.189, allocations: 211.2 kB / 306.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.1893, allocations: 226.3 kB / 306.5 MB, free: 6.656 MB / 282.7 MB Notification: Performance of SimCode: time 9.91e-07/0.1893, allocations: 0 / 306.5 MB, free: 6.656 MB / 282.7 MB Notification: Performance of Templates: time 0.02582/0.2151, allocations: 25.47 MB / 331.9 MB, free: 14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.9618328819051385]