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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 106.5 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 187.9 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 207.6 MB / 234 MB, free: 11.16 MB / 190.1 MB [Timeout remaining time 88] 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 55.92 kB / 345.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2779, allocations: 49.12 MB / 394.9 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03056/0.3084, allocations: 26.78 MB / 421.7 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03229/0.3407, allocations: 24.96 MB / 446.7 MB, free: 104 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.3413, allocations: 7.938 kB / 446.7 MB, free: 96 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.3424, allocations: 310.5 kB / 447 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.3435, allocations: 373.9 kB / 447.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01369/0.3572, allocations: 4.1 MB / 451.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.359, allocations: 0.9503 MB / 452.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.3593, allocations: 77.05 kB / 452.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.3603, allocations: 402.6 kB / 452.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.3608, allocations: 318.7 kB / 453.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.3608, allocations: 40 kB / 453.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02608/0.3869, allocations: 10.47 MB / 463.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.3872, allocations: 111.6 kB / 463.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.3877, allocations: 231.1 kB / 464 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03876/0.4264, allocations: 11.49 MB / 475.5 MB, free: 3.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.4264, allocations: 4 kB / 475.5 MB, free: 3.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4264, allocations: 8 kB / 475.5 MB, free: 3.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.4265, allocations: 0 / 475.5 MB, free: 3.188 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.00733/0.4338, allocations: 1.188 MB / 476.7 MB, free: 1.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4338, allocations: 8.031 kB / 476.7 MB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005929/0.4344, allocations: 63.78 kB / 476.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005915/0.435, allocations: 330.4 kB / 477.1 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.435, allocations: 24.66 kB / 477.1 MB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.4351, allocations: 28 kB / 477.1 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000966/0.4361, allocations: 471.7 kB / 477.6 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4361, allocations: 4 kB / 477.6 MB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.4361, allocations: 12 kB / 477.6 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.4361, allocations: 8 kB / 477.6 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.4369, allocations: 386.3 kB / 478 MB, free: 0.5586 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.003873/0.4408, allocations: 2.953 MB / 481 MB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.4415, allocations: 282.7 kB / 481.2 MB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.4417, allocations: 124.8 kB / 481.4 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002759/0.4445, allocations: 2.47 MB / 483.8 MB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.4445, allocations: 42.5 kB / 483.9 MB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.575e-06/0.4445, allocations: 0 / 483.9 MB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005521/0.45, allocations: 1.289 MB / 485.2 MB, free: 8.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.4501, allocations: 51.41 kB / 485.2 MB, free: 8.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.4504, allocations: 262.6 kB / 485.5 MB, free: 8.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.4505, allocations: 33.7 kB / 485.5 MB, free: 8.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.4506, allocations: 192.4 kB / 485.7 MB, free: 8.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.4507, allocations: 126.9 kB / 485.8 MB, free: 7.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.4509, allocations: 90.08 kB / 485.9 MB, free: 7.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.451, allocations: 338.8 kB / 486.2 MB, free: 7.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.4512, allocations: 112.8 kB / 486.3 MB, free: 7.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.4515, allocations: 238 kB / 486.6 MB, free: 7.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.4521, allocations: 365.5 kB / 486.9 MB, free: 6.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4521, allocations: 3.938 kB / 486.9 MB, free: 6.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009008/0.453, allocations: 466.6 kB / 487.4 MB, free: 6.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.453, allocations: 8 kB / 487.4 MB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.453, allocations: 4.438 kB / 487.4 MB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005094/0.4581, allocations: 237.4 kB / 487.6 MB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.4586, allocations: 87.84 kB / 487.7 MB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.4607, allocations: 1.943 MB / 489.7 MB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.461, allocations: 12 kB / 489.7 MB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.4611, allocations: 20.19 kB / 489.7 MB, free: 3.707 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.0002848/0.4613, allocations: 173.6 kB / 489.9 MB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.814e-05/0.4614, allocations: 35.78 kB / 489.9 MB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.4626, allocations: 0.6853 MB / 490.6 MB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.4626, allocations: 7.984 kB / 490.6 MB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4626, allocations: 0 / 490.6 MB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009936/0.4636, allocations: 0.8596 MB / 491.5 MB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.4654, allocations: 1.198 MB / 492.6 MB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4654, allocations: 0 / 492.6 MB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.4657, allocations: 71.95 kB / 492.7 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/0.4674, allocations: 172.6 kB / 492.9 MB, free: 348 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.4674, allocations: 15.94 kB / 492.9 MB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000471/0.4679, allocations: 0.5641 MB / 493.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4679, allocations: 3.938 kB / 493.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.469, allocations: 0.7422 MB / 494.2 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.4691, allocations: 108.9 kB / 494.3 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.4692, allocations: 15.89 kB / 494.3 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.4694, allocations: 12 kB / 494.3 MB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.4694, allocations: 23.91 kB / 494.4 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.4694, allocations: 15.98 kB / 494.4 MB, free: 14.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.4697, allocations: 218 kB / 494.6 MB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4697, allocations: 3.938 kB / 494.6 MB, free: 14.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005503/0.4752, allocations: 0.7481 MB / 495.4 MB, free: 13.81 MB / 414.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.02629/0.5015, allocations: 6.407 MB / 0.49 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.5027, allocations: 462.3 kB / 0.4904 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5027, allocations: 0 / 0.4904 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.5031, allocations: 212.2 kB / 0.4906 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5041, allocations: 184.6 kB / 0.4908 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.5059, allocations: 0.9336 MB / 0.4917 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.5063, allocations: 0.805 MB / 0.4925 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5064, allocations: 47.42 kB / 0.4926 GB, free: 4.684 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5064, allocations: 0 / 0.4926 GB, free: 4.684 MB / 414.1 MB Notification: Performance of Templates: time 0.04211/0.5485, allocations: 29.27 MB / 0.5211 GB, free: 7.359 MB / 446.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