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.0009256/0.0009256, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001464/0.001464, allocations: 167.6 kB / 25.7 MB, free: 8.438 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.9374/0.9374, 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.132e-06/1.132e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.255e-05, allocations: 6.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0101/0.01012, allocations: 10.72 MB / 262.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007594/0.01771, allocations: 9.191 MB / 271.5 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.01787, allocations: 7.938 kB / 271.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.01826, allocations: 151 kB / 271.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006892/0.01895, allocations: 389.6 kB / 272 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.02221, allocations: 1.808 MB / 273.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.02301, allocations: 0.9929 MB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.02316, allocations: 81.16 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.02358, allocations: 0.495 MB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.0241, allocations: 263.2 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.02414, allocations: 36 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004858/0.029, allocations: 5.427 MB / 281.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.02908, allocations: 115.6 kB / 281.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.0292, allocations: 163.7 kB / 281.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005346/0.03455, allocations: 4.912 MB / 286.3 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.03455, allocations: 4 kB / 286.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.03455, allocations: 0 / 286.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.03456, allocations: 4 kB / 286.3 MB, free: 4.359 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.001275/0.03583, allocations: 0.7281 MB / 287 MB, free: 3.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.03586, allocations: 11.98 kB / 287.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.0362, allocations: 135.3 kB / 287.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.03643, allocations: 220.6 kB / 287.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.03645, allocations: 32.64 kB / 287.4 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.03649, allocations: 35.94 kB / 287.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.03692, allocations: 0.4968 MB / 288 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.03694, allocations: 7.938 kB / 288 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.03696, allocations: 16 kB / 288 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.03697, allocations: 8 kB / 288 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.03724, allocations: 199.1 kB / 288.2 MB, free: 2.355 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.03917, allocations: 1.924 MB / 290.1 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.03947, allocations: 170.4 kB / 290.3 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.03954, allocations: 72.91 kB / 290.4 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.03979, allocations: 143.9 kB / 290.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.03982, allocations: 46.5 kB / 290.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.933e-06/0.03982, allocations: 0 / 290.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002627/0.04245, allocations: 0.8497 MB / 291.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.04247, allocations: 59.39 kB / 291.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.04259, allocations: 211.3 kB / 291.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.04261, allocations: 37.7 kB / 291.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.04268, allocations: 180.4 kB / 291.9 MB, free: 14.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.04274, allocations: 130.9 kB / 292 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.04282, allocations: 82.16 kB / 292.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.0429, allocations: 346.7 kB / 292.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-05/0.04296, allocations: 44.98 kB / 292.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.04307, allocations: 162.6 kB / 292.6 MB, free: 13.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.04326, allocations: 240.2 kB / 292.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.04326, allocations: 4 kB / 292.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000304/0.04357, allocations: 282.8 kB / 293.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.04358, allocations: 8 kB / 293.1 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.04359, allocations: 3.938 kB / 293.1 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/0.04568, allocations: 213.9 kB / 293.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.04589, allocations: 95.83 kB / 293.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007423/0.04663, allocations: 1.68 MB / 295.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/0.04672, allocations: 15.94 kB / 295.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.04674, allocations: 24.17 kB / 295.2 MB, free: 10.98 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 9.495e-05/0.04684, allocations: 136.5 kB / 295.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.04688, allocations: 27.97 kB / 295.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.04727, allocations: 443.5 kB / 295.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.04728, allocations: 4 kB / 295.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.04728, allocations: 0 / 295.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003056/0.04759, allocations: 0.5683 MB / 296.3 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.04845, allocations: 0.6543 MB / 297 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.04846, allocations: 4 kB / 297 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.04863, allocations: 67.89 kB / 297.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000628/0.04926, allocations: 151.4 kB / 297.2 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.04927, allocations: 19.94 kB / 297.2 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001963/0.04947, allocations: 0.5344 MB / 297.8 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.04947, allocations: 0 / 297.8 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.04983, allocations: 471.8 kB / 298.2 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.04985, allocations: 27.81 kB / 298.2 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.04988, allocations: 15.89 kB / 298.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.04997, allocations: 15.98 kB / 298.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.04999, allocations: 19.72 kB / 298.3 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.05001, allocations: 15.98 kB / 298.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.146e-05/0.05007, allocations: 86.86 kB / 298.4 MB, free: 7.547 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05007, allocations: 0 / 298.4 MB, free: 7.547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008835/0.05095, allocations: 367.2 kB / 298.8 MB, free: 7.188 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.007491/0.05844, allocations: 3.477 MB / 302.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005012/0.05894, allocations: 323.6 kB / 302.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.05895, allocations: 4 kB / 302.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.05916, allocations: 120.3 kB / 302.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.05972, allocations: 172.1 kB / 302.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.06079, allocations: 0.7716 MB / 303.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.206e-05/0.06085, allocations: 107 kB / 303.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.06105, allocations: 163 kB / 303.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.06129, allocations: 171.2 kB / 304 MB, free: 1.816 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.06129, allocations: 0 / 304 MB, free: 1.816 MB / 282.7 MB Notification: Performance of Templates: time 0.02061/0.0819, allocations: 21.51 MB / 325.5 MB, free: 12.29 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 -s gbode -gbm=radauIIA3 -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.873053192626685]