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.001897/0.001897, allocations: 102.8 kB / 21.93 MB, free: 5.203 MB / 14.72 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.002051/0.002051, allocations: 203.2 kB / 25.22 MB, free: 3.141 MB / 14.72 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 1.458/1.458, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 62.58 kB / 348.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3401, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03086/0.3709, allocations: 24.64 MB / 422.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03243/0.4034, allocations: 22.06 MB / 444.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006161/0.404, allocations: 7.938 kB / 444.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.4052, allocations: 270.4 kB / 444.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.4065, allocations: 381.8 kB / 445 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01611/0.4226, allocations: 4.101 MB / 449.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.4242, allocations: 0.9581 MB / 450 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.4245, allocations: 69.25 kB / 450.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.4252, allocations: 402.6 kB / 450.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.4257, allocations: 298.7 kB / 450.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.4257, allocations: 40 kB / 450.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02287/0.4486, allocations: 10.13 MB / 460.9 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.4489, allocations: 119.6 kB / 461 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.4493, allocations: 187.4 kB / 461.2 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03818/0.4874, allocations: 11.51 MB / 472.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.4875, allocations: 4 kB / 472.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4875, allocations: 0 / 472.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.4875, allocations: 0 / 472.7 MB, free: 7.879 MB / 382.1 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.007115/0.4946, allocations: 1.105 MB / 473.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4946, allocations: 15.98 kB / 473.9 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006021/0.4952, allocations: 63.78 kB / 473.9 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.4958, allocations: 256.6 kB / 474.2 MB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.4959, allocations: 24.66 kB / 474.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.4959, allocations: 28 kB / 474.2 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.497, allocations: 0.6113 MB / 474.8 MB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.497, allocations: 3.938 kB / 474.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.497, allocations: 20 kB / 474.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.4971, allocations: 11.94 kB / 474.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007494/0.4978, allocations: 390.3 kB / 475.3 MB, free: 5.23 MB / 382.1 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.003654/0.5015, allocations: 2.168 MB / 477.4 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.5021, allocations: 282.7 kB / 477.7 MB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.5024, allocations: 128.8 kB / 477.8 MB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/0.5038, allocations: 463.4 kB / 478.3 MB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5038, allocations: 34.56 kB / 478.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.5038, allocations: 3.938 kB / 478.3 MB, free: 2.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005071/0.5089, allocations: 1.151 MB / 479.5 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.509, allocations: 55.41 kB / 479.5 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.5092, allocations: 232 kB / 479.7 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.5093, allocations: 37.7 kB / 479.8 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.5094, allocations: 200.4 kB / 480 MB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.5095, allocations: 118.9 kB / 480.1 MB, free: 236 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.5096, allocations: 82.12 kB / 480.2 MB, free: 148 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5098, allocations: 338.8 kB / 480.5 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.51, allocations: 116.8 kB / 480.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.5103, allocations: 231.2 kB / 480.8 MB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.5109, allocations: 373.5 kB / 481.2 MB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5109, allocations: 0 / 481.2 MB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008561/0.5117, allocations: 458.7 kB / 481.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5117, allocations: 7.938 kB / 481.7 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5117, allocations: 4 kB / 481.7 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004397/0.5161, allocations: 241.9 kB / 481.9 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.5165, allocations: 87.84 kB / 482 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.5181, allocations: 1.824 MB / 483.8 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.5183, allocations: 12 kB / 483.8 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.5184, allocations: 20 kB / 483.8 MB, free: 12.21 MB / 398.1 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.0002493/0.5186, allocations: 170 kB / 484 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.5187, allocations: 27.86 kB / 484 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.5198, allocations: 0.7051 MB / 484.7 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5198, allocations: 11.92 kB / 484.8 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5198, allocations: 3.938 kB / 484.8 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009342/0.5208, allocations: 0.8789 MB / 485.6 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.5223, allocations: 1.082 MB / 486.7 MB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5223, allocations: 0 / 486.7 MB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.5225, allocations: 71.91 kB / 486.8 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/0.524, allocations: 176.5 kB / 487 MB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5241, allocations: 12 kB / 487 MB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000412/0.5245, allocations: 0.5719 MB / 487.5 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5245, allocations: 4.094 kB / 487.6 MB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.5255, allocations: 0.7458 MB / 488.3 MB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.5256, allocations: 35.77 kB / 488.3 MB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.5256, allocations: 11.95 kB / 488.3 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.5258, allocations: 8 kB / 488.4 MB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.5259, allocations: 19.95 kB / 488.4 MB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.5259, allocations: 16 kB / 488.4 MB, free: 7.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.5261, allocations: 197.2 kB / 488.6 MB, free: 7.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5261, allocations: 0 / 488.6 MB, free: 7.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004493/0.5306, allocations: 0.7519 MB / 489.3 MB, free: 6.523 MB / 398.1 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.02592/0.5565, allocations: 6.407 MB / 495.7 MB, free: 96 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.5577, allocations: 466.2 kB / 496.2 MB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5577, allocations: 0 / 496.2 MB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.5581, allocations: 220.8 kB / 496.4 MB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009946/0.5591, allocations: 164.1 kB / 496.6 MB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.5608, allocations: 0.9265 MB / 497.5 MB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.5611, allocations: 200.9 kB / 497.7 MB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.5612, allocations: 47.36 kB / 497.7 MB, free: 14.03 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5612, allocations: 0 / 497.7 MB, free: 14.03 MB / 414.1 MB Notification: Performance of Templates: time 0.04237/0.6035, allocations: 29.13 MB / 0.5145 GB, free: 0.8438 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.753021987620741]