Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 161.2 kB / 25.61 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9072/0.9072, allocations: 177 MB / 205.9 MB, free: 4.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.51e-07/7.51e-07, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.094e-05, allocations: 4.031 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.009315/0.009326, allocations: 10.7 MB / 284.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006489/0.01581, allocations: 9.079 MB / 293.9 MB, free: 464 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.01594, allocations: 7.938 kB / 293.9 MB, free: 456 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.01627, allocations: 135.2 kB / 294 MB, free: 320 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.0167, allocations: 409.4 kB / 294.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.01918, allocations: 1.899 MB / 296.3 MB, free: 14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008757/0.02006, allocations: 0.989 MB / 297.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.02019, allocations: 77.23 kB / 297.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.02059, allocations: 0.495 MB / 297.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.02082, allocations: 279.2 kB / 298.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.02086, allocations: 36 kB / 298.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.02546, allocations: 5.333 MB / 303.5 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.944e-05/0.02556, allocations: 111.6 kB / 303.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.02568, allocations: 171.7 kB / 303.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.03161, allocations: 4.912 MB / 308.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.03162, allocations: 0 / 308.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03162, allocations: 0 / 308.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.03162, allocations: 0 / 308.7 MB, free: 1.582 MB / 282.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.001757/0.03338, allocations: 0.8684 MB / 309.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.03341, allocations: 12.03 kB / 309.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.03377, allocations: 139.1 kB / 309.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.03402, allocations: 259.5 kB / 310 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.03404, allocations: 20.66 kB / 310 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.03408, allocations: 43.92 kB / 310.1 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.03453, allocations: 0.5139 MB / 310.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.03455, allocations: 7.953 kB / 310.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.03457, allocations: 16 kB / 310.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.03458, allocations: 8 kB / 310.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.03485, allocations: 204.2 kB / 310.8 MB, free: 15.36 MB / 298.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.002019/0.03687, allocations: 2.524 MB / 313.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.03718, allocations: 199.2 kB / 313.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/0.03725, allocations: 79.56 kB / 313.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.03749, allocations: 155.8 kB / 313.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.03751, allocations: 37.39 kB / 313.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.03752, allocations: 4 kB / 313.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.002563/0.04008, allocations: 0.8998 MB / 314.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.0401, allocations: 55.41 kB / 314.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.04024, allocations: 278.5 kB / 315 MB, free: 10.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.04026, allocations: 41.64 kB / 315.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.04035, allocations: 243 kB / 315.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.04041, allocations: 126.9 kB / 315.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.04049, allocations: 87.77 kB / 315.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.0406, allocations: 0.5117 MB / 316 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.04066, allocations: 52.95 kB / 316.1 MB, free: 9.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.04078, allocations: 207.9 kB / 316.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.04101, allocations: 306.7 kB / 316.6 MB, free: 9.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.04101, allocations: 0 / 316.6 MB, free: 9.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004185/0.04143, allocations: 360.2 kB / 316.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.04145, allocations: 12.38 kB / 316.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.04145, allocations: 11.94 kB / 316.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.04418, allocations: 235.1 kB / 317.2 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.04436, allocations: 87.89 kB / 317.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.04554, allocations: 2.518 MB / 319.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.04564, allocations: 16 kB / 319.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.04565, allocations: 16 kB / 319.8 MB, free: 5.832 MB / 298.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 0.0001076/0.04576, allocations: 188.3 kB / 320 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.04586, allocations: 51.69 kB / 320 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.0463, allocations: 440.5 kB / 320.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.0463, allocations: 7.984 kB / 320.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.04631, allocations: 8.031 kB / 320.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003281/0.04663, allocations: 0.621 MB / 321.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.0473, allocations: 0.7728 MB / 321.9 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.0473, allocations: 0 / 321.9 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.04744, allocations: 63.91 kB / 321.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007066/0.04814, allocations: 163.3 kB / 322.1 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.04816, allocations: 19.92 kB / 322.1 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002238/0.04838, allocations: 0.7883 MB / 322.9 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.04838, allocations: 0 / 322.9 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.04881, allocations: 0.5352 MB / 323.4 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.04883, allocations: 27.75 kB / 323.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.04886, allocations: 11.95 kB / 323.5 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.04895, allocations: 8 kB / 323.5 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.04898, allocations: 32.03 kB / 323.5 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.04899, allocations: 11.98 kB / 323.5 MB, free: 1.883 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.803e-05/0.04908, allocations: 201.1 kB / 323.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04908, allocations: 0 / 323.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001281/0.05036, allocations: 375.1 kB / 324.1 MB, free: 1.316 MB / 298.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.009397/0.05976, allocations: 3.484 MB / 327.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004746/0.06023, allocations: 398.3 kB / 328 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.06024, allocations: 0 / 328 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.06044, allocations: 142.8 kB / 328.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.06112, allocations: 172.4 kB / 328.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.06242, allocations: 0.7811 MB / 329.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.939e-05/0.0625, allocations: 115 kB / 329.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002742/0.06277, allocations: 165.8 kB / 329.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.06308, allocations: 206.1 kB / 329.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.06308, allocations: 4 kB / 329.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of Templates: time 0.02573/0.08881, allocations: 21.68 MB / 351.2 MB, free: 6.215 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 4.08730978704989]