Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.0007559/0.0007559, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001779, 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.0006355/0.0006355, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008774/0.001513, 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.849/0.849, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1453/0.9944, allocations: 52.49 MB / 238.5 MB, free: 7.605 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1242/0.1242, allocations: 32.8 MB / 272 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02015/0.1444, allocations: 12.54 MB / 284.5 MB, free: 9.691 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.347e-05, allocations: 2.312 kB / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01882/0.01884, allocations: 8.492 MB / 294.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01846/0.03729, allocations: 11 MB / 305.3 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.03732, allocations: 0 / 305.3 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.03742, allocations: 39.69 kB / 305.4 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006018/0.04344, allocations: 1.749 MB / 307.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.376e-06/0.04345, allocations: 0 / 307.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.04353, allocations: 43.69 kB / 307.1 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.04356, allocations: 7.938 kB / 307.2 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.04368, allocations: 35.84 kB / 307.2 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.04371, allocations: 19.91 kB / 307.2 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.515e-06/0.04372, allocations: 0 / 307.2 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007683/0.0514, allocations: 6.666 MB / 313.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.05142, allocations: 7.938 kB / 313.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.05144, allocations: 12 kB / 313.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008082/0.05953, allocations: 4.651 MB / 318.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.05954, allocations: 0 / 318.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.05954, allocations: 0 / 318.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.05955, allocations: 0 / 318.5 MB, free: 7.598 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002042/0.06159, allocations: 1.193 MB / 319.7 MB, free: 6.359 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.06162, allocations: 12.03 kB / 319.8 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.06176, allocations: 27.86 kB / 319.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.428e-05/0.06183, allocations: 105.2 kB / 319.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.06184, allocations: 4 kB / 319.9 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.06185, allocations: 4 kB / 319.9 MB, free: 6.184 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.375e-05/0.06194, allocations: 60.44 kB / 319.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.06195, allocations: 0 / 319.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.06195, allocations: 0 / 319.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.06196, allocations: 3.938 kB / 320 MB, free: 6.113 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.062, allocations: 31.98 kB / 320 MB, free: 6.082 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.06226, allocations: 205.8 kB / 320.2 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.0623, allocations: 30.56 kB / 320.2 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.06232, allocations: 12.86 kB / 320.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/0.06472, allocations: 1.191 MB / 321.4 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.06475, allocations: 38.56 kB / 321.5 MB, free: 4.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/0.06475, allocations: 3.984 kB / 321.5 MB, free: 4.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001505/0.0649, allocations: 69.56 kB / 321.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.06492, allocations: 55.41 kB / 321.6 MB, free: 4.426 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.77e-05/0.06497, allocations: 94.72 kB / 321.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.06498, allocations: 29.7 kB / 321.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.06502, allocations: 96.02 kB / 321.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.06504, allocations: 23.73 kB / 321.8 MB, free: 4.164 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.06507, allocations: 25.83 kB / 321.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.08e-05/0.06514, allocations: 318.8 kB / 322.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.06515, allocations: 8 kB / 322.2 MB, free: 3.805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.06518, allocations: 29.83 kB / 322.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.492e-05/0.06523, allocations: 45.64 kB / 322.2 MB, free: 3.719 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.06523, allocations: 0 / 322.2 MB, free: 3.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.763e-05/0.06531, allocations: 65.61 kB / 322.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.06533, allocations: 11.94 kB / 322.3 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.06533, allocations: 0 / 322.3 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.06534, allocations: 0 / 322.3 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.355e-05/0.06539, allocations: 12.03 kB / 322.3 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.06539, allocations: 0 / 322.3 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.06541, allocations: 11.95 kB / 322.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.06542, allocations: 3.984 kB / 322.3 MB, free: 3.609 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.06548, allocations: 109.8 kB / 322.4 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.06551, allocations: 11.88 kB / 322.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.06564, allocations: 145.7 kB / 322.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-05/0.0657, allocations: 73.67 kB / 322.7 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.0657, allocations: 0 / 322.7 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.06571, allocations: 4 kB / 322.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.06598, allocations: 326.4 kB / 323 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.06598, allocations: 0 / 323 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.06602, allocations: 12 kB / 323 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.06603, allocations: 15.88 kB / 323 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.06603, allocations: 0 / 323 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.06604, allocations: 4 kB / 323 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.06604, allocations: 0 / 323 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.06604, allocations: 0 / 323 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.06617, allocations: 233.5 kB / 323.3 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.06618, allocations: 4 kB / 323.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.474e-05/0.06623, allocations: 4 kB / 323.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.06624, allocations: 7.984 kB / 323.3 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.06625, allocations: 0 / 323.3 MB, free: 2.621 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.275e-06/0.06626, allocations: 8.859 kB / 323.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06626, allocations: 4 kB / 323.3 MB, free: 2.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001092/0.06735, allocations: 346.9 kB / 323.6 MB, free: 2.266 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1288/0.1961, allocations: 3.798 MB / 327.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1963, allocations: 82.27 kB / 327.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.1963, allocations: 1.281 kB / 327.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.1963, allocations: 42.95 kB / 327.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1966, allocations: 53.61 kB / 327.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1984, allocations: 210.8 kB / 327.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.1984, allocations: 65.25 kB / 327.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.116e-05/0.1985, allocations: 16.12 kB / 327.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.853e-05/0.1986, allocations: 77.62 kB / 328 MB, free: 11.8 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1986, allocations: 0 / 328 MB, free: 11.8 MB / 314.7 MB Notification: Performance of Templates: time 0.01953/0.2181, allocations: 19.64 MB / 347.6 MB, free: 4.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,h,rho,mu,cp,k Variables in the result:cp,h,k,mu,rho,time filterSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff.mat", vars={"rho"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff.ref.mat", vars={"rho"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.664202914573252]