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.001317/0.001317, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.001445/0.001445, allocations: 165.5 kB / 25.32 MB, free: 9.465 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.768/0.768, allocations: 158.6 MB / 187.2 MB, free: 2.527 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.313e-06/1.313e-06, allocations: 0 / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.451e-05, allocations: 6.25 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.009155/0.009169, allocations: 10.71 MB / 261.8 MB, free: 8.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006545/0.01571, allocations: 9.158 MB / 270.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.01584, allocations: 7.938 kB / 270.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.01624, allocations: 143 kB / 271.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.01671, allocations: 405.5 kB / 271.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.01953, allocations: 1.899 MB / 273.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007568/0.02028, allocations: 0.9851 MB / 274.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.02041, allocations: 77.23 kB / 274.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000432/0.02084, allocations: 0.4989 MB / 274.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.0211, allocations: 275.2 kB / 275.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.02114, allocations: 36 kB / 275.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005483/0.02662, allocations: 5.329 MB / 280.6 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.791e-05/0.02672, allocations: 111.6 kB / 280.7 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.02685, allocations: 171.7 kB / 280.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006518/0.03337, allocations: 4.896 MB / 285.7 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.03337, allocations: 4 kB / 285.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.03337, allocations: 0 / 285.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.03338, allocations: 0 / 285.7 MB, free: 0.7812 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.001598/0.03498, allocations: 0.8684 MB / 286.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.03501, allocations: 15.98 kB / 286.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.03559, allocations: 131.1 kB / 286.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.03586, allocations: 271.4 kB / 287 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.03588, allocations: 24.66 kB / 287 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.03592, allocations: 39.94 kB / 287.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.03643, allocations: 0.5335 MB / 287.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.03644, allocations: 0 / 287.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.03646, allocations: 16 kB / 287.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.03648, allocations: 8 kB / 287.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.03681, allocations: 247.6 kB / 287.9 MB, free: 14.49 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.001766/0.03858, allocations: 2.563 MB / 290.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.03892, allocations: 211.3 kB / 290.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.03903, allocations: 92.08 kB / 290.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.03928, allocations: 159.8 kB / 290.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.0393, allocations: 45.39 kB / 290.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.302e-06/0.0393, allocations: 0 / 290.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002483/0.04178, allocations: 0.9842 MB / 291.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.04181, allocations: 55.41 kB / 292 MB, free: 10.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.04196, allocations: 274.6 kB / 292.2 MB, free: 9.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.04198, allocations: 33.7 kB / 292.3 MB, free: 9.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.04207, allocations: 243.1 kB / 292.5 MB, free: 9.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.04213, allocations: 126.9 kB / 292.6 MB, free: 9.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.04221, allocations: 87.8 kB / 292.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.04232, allocations: 0.5079 MB / 293.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.253e-05/0.04242, allocations: 68.95 kB / 293.3 MB, free: 8.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.04257, allocations: 223.9 kB / 293.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/0.0431, allocations: 322.7 kB / 293.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0431, allocations: 4 kB / 293.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004343/0.04354, allocations: 380.5 kB / 294.2 MB, free: 7.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.04355, allocations: 4 kB / 294.2 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.04356, allocations: 4 kB / 294.2 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/0.04565, allocations: 227.1 kB / 294.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.04583, allocations: 95.77 kB / 294.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009405/0.04677, allocations: 2.541 MB / 297.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.04686, allocations: 12 kB / 297.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.04688, allocations: 23.98 kB / 297.1 MB, free: 4.727 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 (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.0001015/0.04698, allocations: 180.5 kB / 297.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.04703, allocations: 40.05 kB / 297.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/0.04752, allocations: 0.4923 MB / 297.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.04753, allocations: 7.984 kB / 297.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.04753, allocations: 0 / 297.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003911/0.04792, allocations: 0.6487 MB / 298.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.04874, allocations: 0.8659 MB / 299.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.04875, allocations: 0 / 299.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.04893, allocations: 67.89 kB / 299.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006948/0.04962, allocations: 163.4 kB / 299.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.04964, allocations: 15.98 kB / 299.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002407/0.04988, allocations: 0.7883 MB / 300.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.04988, allocations: 0 / 300.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.05062, allocations: 0.5784 MB / 300.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.05066, allocations: 27.75 kB / 301 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.05068, allocations: 11.95 kB / 301 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.05077, allocations: 4 kB / 301 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.0508, allocations: 27.95 kB / 301 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.05082, allocations: 15.98 kB / 301 MB, free: 0.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.05093, allocations: 213.1 kB / 301.2 MB, free: 380 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05093, allocations: 0 / 301.2 MB, free: 380 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.001083/0.05201, allocations: 375.1 kB / 301.6 MB, free: 4 kB / 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.1048/0.1568, allocations: 3.454 MB / 305.1 MB, free: 36.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006332/0.1574, allocations: 427.5 kB / 305.5 MB, free: 36.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1574, allocations: 2.156 kB / 305.5 MB, free: 36.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.1576, allocations: 157.1 kB / 305.6 MB, free: 36.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.1582, allocations: 173.9 kB / 305.8 MB, free: 36.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1594, allocations: 0.7831 MB / 306.6 MB, free: 35.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.209e-05/0.1595, allocations: 111.1 kB / 306.7 MB, free: 35.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000241/0.1597, allocations: 165.9 kB / 306.8 MB, free: 35.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.1598, allocations: 38.7 kB / 306.9 MB, free: 35.68 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1598, allocations: 0 / 306.9 MB, free: 35.68 MB / 282.7 MB Notification: Performance of Templates: time 0.01818/0.1779, allocations: 22 MB / 328.9 MB, free: 25.15 MB / 282.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: 3.8614853168837726]