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.001707/0.001707, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001468/0.001468, allocations: 213.5 kB / 24.47 MB, free: 3.777 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.416/1.416, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001879/0.001879, allocations: 59.91 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2633, allocations: 49.15 MB / 396.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02678/0.2901, allocations: 24.64 MB / 421.5 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02935/0.3195, allocations: 22.06 MB / 443.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000573/0.32, allocations: 7.938 kB / 443.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.3211, allocations: 278.4 kB / 443.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009363/0.3221, allocations: 381.8 kB / 444.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.3338, allocations: 4.094 MB / 448.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.3352, allocations: 0.962 MB / 449.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.3355, allocations: 69.25 kB / 449.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008332/0.3363, allocations: 402.6 kB / 449.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.3368, allocations: 298.8 kB / 450 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-05/0.3369, allocations: 39.98 kB / 450.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0225/0.3594, allocations: 10.13 MB / 460.2 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.3597, allocations: 115.6 kB / 460.3 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004378/0.3601, allocations: 187.4 kB / 460.5 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03669/0.3968, allocations: 11.51 MB / 472 MB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3968, allocations: 0 / 472 MB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3968, allocations: 4 kB / 472 MB, free: 7.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.3968, allocations: 0 / 472 MB, free: 7.883 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.007068/0.4039, allocations: 1.105 MB / 473.1 MB, free: 6.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.404, allocations: 15.97 kB / 473.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.4045, allocations: 63.78 kB / 473.2 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.4051, allocations: 252.6 kB / 473.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.4051, allocations: 40.53 kB / 473.5 MB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.4052, allocations: 28 kB / 473.5 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4063, allocations: 0.6113 MB / 474.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.4063, allocations: 3.938 kB / 474.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.4063, allocations: 16 kB / 474.1 MB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.4063, allocations: 8 kB / 474.1 MB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008043/0.4071, allocations: 386.3 kB / 474.5 MB, free: 5.234 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.003774/0.4109, allocations: 2.176 MB / 476.7 MB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.4116, allocations: 278.7 kB / 476.9 MB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.4118, allocations: 134 kB / 477.1 MB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/0.4134, allocations: 463.4 kB / 477.5 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.4134, allocations: 38.56 kB / 477.6 MB, free: 2.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.525e-06/0.4134, allocations: 0 / 477.6 MB, free: 2.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005251/0.4187, allocations: 1.151 MB / 478.7 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.4187, allocations: 59.41 kB / 478.8 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.419, allocations: 228 kB / 479 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.419, allocations: 33.7 kB / 479 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4192, allocations: 192.4 kB / 479.2 MB, free: 364 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.4193, allocations: 130.8 kB / 479.4 MB, free: 232 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.4194, allocations: 78.12 kB / 479.4 MB, free: 148 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4196, allocations: 338.8 kB / 479.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.4198, allocations: 116.8 kB / 479.9 MB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.4201, allocations: 237.9 kB / 480.1 MB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.4207, allocations: 365.5 kB / 480.5 MB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4207, allocations: 0 / 480.5 MB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009016/0.4216, allocations: 458.9 kB / 480.9 MB, free: 14.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.4216, allocations: 11.94 kB / 480.9 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4216, allocations: 4 kB / 480.9 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004461/0.4261, allocations: 233.4 kB / 481.2 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.4264, allocations: 87.84 kB / 481.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.4281, allocations: 1.821 MB / 483.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.4283, allocations: 16 kB / 483.1 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.4284, allocations: 20 kB / 483.1 MB, free: 12.22 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.0002389/0.4286, allocations: 169.6 kB / 483.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4287, allocations: 23.86 kB / 483.3 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.4298, allocations: 0.7015 MB / 484 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.4299, allocations: 19.92 kB / 484 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4299, allocations: 0 / 484 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009911/0.4309, allocations: 0.8828 MB / 484.9 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.4325, allocations: 1.082 MB / 486 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4325, allocations: 0 / 486 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.4327, allocations: 63.91 kB / 486 MB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.4343, allocations: 180.5 kB / 486.2 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.4343, allocations: 12 kB / 486.2 MB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004286/0.4347, allocations: 0.5758 MB / 486.8 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4347, allocations: 0 / 486.8 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4358, allocations: 0.7457 MB / 487.5 MB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.4359, allocations: 27.78 kB / 487.6 MB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.436, allocations: 19.94 kB / 487.6 MB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.4362, allocations: 12.16 kB / 487.6 MB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.4362, allocations: 19.95 kB / 487.6 MB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.4362, allocations: 15.94 kB / 487.6 MB, free: 7.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.4365, allocations: 201.2 kB / 487.8 MB, free: 7.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4365, allocations: 0 / 487.8 MB, free: 7.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004266/0.4407, allocations: 0.7519 MB / 488.6 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.0255/0.4662, allocations: 6.395 MB / 495 MB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.4675, allocations: 478.6 kB / 495.4 MB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4675, allocations: 0 / 495.4 MB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.468, allocations: 219.9 kB / 495.7 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.001065/0.469, allocations: 160.8 kB / 495.8 MB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.4709, allocations: 0.8974 MB / 496.7 MB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.4711, allocations: 204.8 kB / 496.9 MB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.4715, allocations: 184.3 kB / 497.1 MB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/0.4716, allocations: 39.44 kB / 497.1 MB, free: 13.89 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4716, allocations: 4 kB / 497.1 MB, free: 13.89 MB / 414.1 MB Notification: Performance of Templates: time 0.04361/0.5152, allocations: 29.07 MB / 0.5139 GB, free: 0.7422 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/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: 8.035177120938897]