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.0009206/0.0009206, allocations: 84.98 kB / 23 MB, free: 1.5 MB / 18.57 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.0009107/0.0009107, allocations: 174.4 kB / 26.39 MB, free: 7.754 MB / 18.57 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 0.8988/0.8988, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.166e-05, allocations: 9.203 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01129/0.01132, allocations: 10.64 MB / 262.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007485/0.0188, allocations: 9.06 MB / 272 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.01902, allocations: 4 kB / 272 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004741/0.01949, allocations: 139.1 kB / 272.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005731/0.02007, allocations: 401.4 kB / 272.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.02389, allocations: 1.895 MB / 274.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.02466, allocations: 0.9851 MB / 275.4 MB, free: 24 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.02481, allocations: 77.23 kB / 275.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.02525, allocations: 0.4989 MB / 276 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.0255, allocations: 275.1 kB / 276.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.02555, allocations: 36 kB / 276.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004995/0.03055, allocations: 5.325 MB / 281.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.03063, allocations: 115.6 kB / 281.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.03076, allocations: 171.7 kB / 281.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005922/0.03668, allocations: 4.896 MB / 286.8 MB, free: 4.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.03668, allocations: 3.938 kB / 286.8 MB, free: 4.617 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03668, allocations: 0 / 286.8 MB, free: 4.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.03669, allocations: 4 kB / 286.8 MB, free: 4.613 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00197/0.03866, allocations: 0.8684 MB / 287.6 MB, free: 3.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.03869, allocations: 15.98 kB / 287.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.03901, allocations: 131.2 kB / 287.8 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.03927, allocations: 259.4 kB / 288 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.03928, allocations: 24.66 kB / 288.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.03932, allocations: 43.88 kB / 288.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.03977, allocations: 0.5178 MB / 288.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.03978, allocations: 0 / 288.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.03981, allocations: 16 kB / 288.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.03981, allocations: 8 kB / 288.6 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.04008, allocations: 208.2 kB / 288.8 MB, free: 2.383 MB / 266.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.001794/0.04187, allocations: 2.532 MB / 291.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.04216, allocations: 191.1 kB / 291.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.04223, allocations: 72.12 kB / 291.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.04248, allocations: 159.8 kB / 291.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.0425, allocations: 37.39 kB / 291.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.383e-06/0.0425, allocations: 0 / 291.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002261/0.04476, allocations: 0.8866 MB / 292.7 MB, free: 14.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.04478, allocations: 55.41 kB / 292.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.04491, allocations: 282.5 kB / 293 MB, free: 14.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.04493, allocations: 29.7 kB / 293.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9e-05/0.04502, allocations: 247 kB / 293.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.162e-05/0.04509, allocations: 122.9 kB / 293.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.04517, allocations: 95.7 kB / 293.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.04528, allocations: 0.5079 MB / 294 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.04534, allocations: 48.95 kB / 294.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.04548, allocations: 223.8 kB / 294.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.0457, allocations: 298.7 kB / 294.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.0457, allocations: 4 kB / 294.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003711/0.04607, allocations: 348.8 kB / 294.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.04608, allocations: 7.938 kB / 294.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.04609, allocations: 4 kB / 294.9 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.04815, allocations: 219.1 kB / 295.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.04833, allocations: 91.83 kB / 295.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009732/0.0493, allocations: 2.521 MB / 297.8 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.04941, allocations: 15.94 kB / 297.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.04943, allocations: 15.98 kB / 297.8 MB, free: 8.902 MB / 282.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.0001092/0.04954, allocations: 180.5 kB / 298 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.04959, allocations: 35.86 kB / 298 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.05002, allocations: 464.3 kB / 298.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.05003, allocations: 4 kB / 298.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.05003, allocations: 3.938 kB / 298.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003645/0.05039, allocations: 0.6096 MB / 299.1 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.05107, allocations: 0.7767 MB / 299.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.05107, allocations: 0 / 299.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.05121, allocations: 63.91 kB / 299.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007102/0.05192, allocations: 155.4 kB / 300.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.05194, allocations: 15.94 kB / 300.1 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002391/0.05217, allocations: 0.7999 MB / 300.9 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.05218, allocations: 0 / 300.9 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.05259, allocations: 0.5159 MB / 301.4 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.05261, allocations: 31.84 kB / 301.4 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.05264, allocations: 15.94 kB / 301.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.05273, allocations: 12 kB / 301.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.05276, allocations: 19.95 kB / 301.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.05278, allocations: 15.94 kB / 301.5 MB, free: 4.992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.086e-05/0.05287, allocations: 209 kB / 301.7 MB, free: 4.785 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05287, allocations: 0 / 301.7 MB, free: 4.785 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001143/0.05401, allocations: 371.1 kB / 302.1 MB, free: 4.422 MB / 282.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.0075/0.06151, allocations: 3.48 MB / 305.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.06195, allocations: 402.3 kB / 305.9 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.06196, allocations: 0 / 305.9 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.06212, allocations: 142.2 kB / 306.1 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.06265, allocations: 176.1 kB / 306.3 MB, free: 204 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.06377, allocations: 0.7792 MB / 307 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.675e-05/0.06384, allocations: 111 kB / 307.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.06406, allocations: 158.7 kB / 307.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.06432, allocations: 210.1 kB / 307.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.06432, allocations: 4 kB / 307.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of Templates: time 0.01956/0.08387, allocations: 21.61 MB / 329.1 MB, free: 9.285 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] 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","",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.005982759874314]