Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007421/0.0007421, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001808, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006192/0.0006192, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009716/0.001591, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8277/0.8277, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1322/0.9599, allocations: 52.47 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.894e-06/9.046e-06, allocations: 2.312 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.009002/0.009011, allocations: 11.8 MB / 251.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006758/0.01577, allocations: 9.487 MB / 261 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.01594, allocations: 11.94 kB / 261.1 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.01625, allocations: 186.8 kB / 261.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.01681, allocations: 0.5513 MB / 261.8 MB, free: 284 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.01972, allocations: 1.927 MB / 263.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009213/0.02064, allocations: 1.425 MB / 265.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.0208, allocations: 123 kB / 265.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.02135, allocations: 0.7294 MB / 266 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.02168, allocations: 370.9 kB / 266.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.02173, allocations: 52 kB / 266.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.02677, allocations: 5.462 MB / 271.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.02687, allocations: 123.6 kB / 272 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.02703, allocations: 207.7 kB / 272.2 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006153/0.03318, allocations: 4.826 MB / 277 MB, free: 1.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.03319, allocations: 3.984 kB / 277 MB, free: 1.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03319, allocations: 0 / 277 MB, free: 1.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.0332, allocations: 0 / 277 MB, free: 1.016 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.001771/0.03498, allocations: 1.621 MB / 278.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.035, allocations: 11.97 kB / 278.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004416/0.03544, allocations: 268.1 kB / 278.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.03571, allocations: 260.4 kB / 279.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.03573, allocations: 37 kB / 279.2 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.03578, allocations: 55.89 kB / 279.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.03632, allocations: 0.6716 MB / 279.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.03634, allocations: 11.92 kB / 279.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.03637, allocations: 24 kB / 280 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.03638, allocations: 12 kB / 280 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.03672, allocations: 265.5 kB / 280.2 MB, free: 13.63 MB / 282.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.001735/0.03845, allocations: 2.407 MB / 282.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.03883, allocations: 264 kB / 282.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.03892, allocations: 109.2 kB / 283 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.03913, allocations: 148.2 kB / 283.1 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.03916, allocations: 42.92 kB / 283.2 MB, free: 10.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.243e-06/0.03916, allocations: 0 / 283.2 MB, free: 10.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.004648/0.04381, allocations: 1.495 MB / 284.7 MB, free: 9.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.04383, allocations: 59.89 kB / 284.7 MB, free: 8.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.04396, allocations: 260.8 kB / 285 MB, free: 8.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.04399, allocations: 41.64 kB / 285 MB, free: 8.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.04407, allocations: 225.5 kB / 285.3 MB, free: 8.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/0.04415, allocations: 202.2 kB / 285.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.04424, allocations: 118.2 kB / 285.6 MB, free: 8.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.054e-05/0.04432, allocations: 346.7 kB / 285.9 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.0444, allocations: 65.28 kB / 286 MB, free: 7.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.04454, allocations: 224.1 kB / 286.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.0448, allocations: 373.5 kB / 286.6 MB, free: 7.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.0448, allocations: 4 kB / 286.6 MB, free: 7 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0003872/0.04519, allocations: 393.1 kB / 286.9 MB, free: 6.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.0452, allocations: 12 kB / 287 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.04521, allocations: 4 kB / 287 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003861/0.04907, allocations: 417.9 kB / 287.4 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.0494, allocations: 163.8 kB / 287.5 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.0504, allocations: 2.791 MB / 290.3 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.05052, allocations: 20 kB / 290.3 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.05055, allocations: 20.31 kB / 290.4 MB, free: 3.012 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.000113/0.05066, allocations: 164.2 kB / 290.5 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.05071, allocations: 43.95 kB / 290.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.05123, allocations: 0.6145 MB / 291.2 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.05124, allocations: 15.98 kB / 291.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.05125, allocations: 3.938 kB / 291.2 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003707/0.05162, allocations: 0.6111 MB / 291.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008842/0.0525, allocations: 0.9181 MB / 292.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.05251, allocations: 0 / 292.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.05276, allocations: 125.2 kB / 292.8 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.0528, allocations: 39.66 kB / 292.9 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.05417, allocations: 322.6 kB / 293.2 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.05423, allocations: 12 kB / 293.2 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004848/0.05471, allocations: 1.054 MB / 294.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.05472, allocations: 3.984 kB / 294.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/0.05533, allocations: 0.6461 MB / 294.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.05538, allocations: 23.89 kB / 294.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.05553, allocations: 12 kB / 295 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.05557, allocations: 36.42 kB / 295 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.05559, allocations: 15.92 kB / 295 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.037e-05/0.05568, allocations: 104.6 kB / 295.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05568, allocations: 0 / 295.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001334/0.05701, allocations: 419.1 kB / 295.5 MB, free: 13.62 MB / 298.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.007615/0.06463, allocations: 3.489 MB / 299 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007524/0.06538, allocations: 479.6 kB / 299.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.3e-05/0.0654, allocations: 13.62 kB / 299.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.06571, allocations: 251.5 kB / 299.7 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009009/0.06661, allocations: 1.05 MB / 300.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/0.07317, allocations: 1.107 MB / 301.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.482e-05/0.07325, allocations: 135.7 kB / 302 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.07359, allocations: 215.4 kB / 302.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.07392, allocations: 223.1 kB / 302.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of SimCode: time 1.452e-06/0.07392, allocations: 0 / 302.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of Templates: time 0.117/0.1909, allocations: 25.2 MB / 327.6 MB, free: 56.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.897629490122199]