Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001286/0.001286, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.003011, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00112/0.00112, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002532, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8978/0.8978, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0793/0.9771, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02635/0.2572, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 3.938 kB / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.91e-05, allocations: 5.828 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01897/0.01899, allocations: 8.575 MB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.03137, allocations: 11.08 MB / 312.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.03143, allocations: 0 / 312.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.03157, allocations: 27.83 kB / 312.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.03587, allocations: 1.784 MB / 314.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.242e-06/0.03588, allocations: 0 / 314.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.888e-05/0.03597, allocations: 55.61 kB / 314.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.036, allocations: 4 kB / 314.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.03613, allocations: 43.77 kB / 314.2 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.569e-05/0.03615, allocations: 15.92 kB / 314.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.03616, allocations: 4 kB / 314.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006506/0.04267, allocations: 6.709 MB / 320.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.04268, allocations: 11.94 kB / 320.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.04271, allocations: 8 kB / 320.9 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007421/0.05013, allocations: 5.127 MB / 326.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.346e-05/0.05015, allocations: 4 kB / 326.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.05015, allocations: 3.938 kB / 326.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.05017, allocations: 0 / 326.1 MB, free: 4.766 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.002295/0.05247, allocations: 1.283 MB / 327.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.0525, allocations: 8.031 kB / 327.4 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.05263, allocations: 31.91 kB / 327.4 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.05271, allocations: 109.1 kB / 327.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.05272, allocations: 8 kB / 327.5 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-06/0.05273, allocations: 0 / 327.5 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.504e-05/0.05281, allocations: 56.45 kB / 327.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.05282, allocations: 0 / 327.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.05283, allocations: 4 kB / 327.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.05284, allocations: 7.922 kB / 327.6 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.05289, allocations: 27.97 kB / 327.6 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.05316, allocations: 201.9 kB / 327.8 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/0.0532, allocations: 30.52 kB / 327.8 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.05322, allocations: 12.86 kB / 327.8 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/0.05521, allocations: 1.202 MB / 329 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.05523, allocations: 34.66 kB / 329.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.05523, allocations: 3.938 kB / 329.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001418/0.05537, allocations: 69.62 kB / 329.1 MB, free: 1.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.0554, allocations: 55.41 kB / 329.2 MB, free: 1.492 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.979e-05/0.05545, allocations: 102.7 kB / 329.3 MB, free: 1.379 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.05546, allocations: 29.69 kB / 329.3 MB, free: 1.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.05549, allocations: 88.08 kB / 329.4 MB, free: 1.254 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.05551, allocations: 31.69 kB / 329.4 MB, free: 1.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.05554, allocations: 33.62 kB / 329.5 MB, free: 1.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.0556, allocations: 314.8 kB / 329.8 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.05561, allocations: 8 kB / 329.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.05563, allocations: 29.69 kB / 329.8 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.05567, allocations: 33.7 kB / 329.9 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.05567, allocations: 0 / 329.9 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.483e-05/0.05575, allocations: 73.56 kB / 329.9 MB, free: 0.707 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.05576, allocations: 7.938 kB / 329.9 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.05577, allocations: 192 / 329.9 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.05577, allocations: 4 kB / 329.9 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.05582, allocations: 23.95 kB / 330 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.05582, allocations: 0 / 330 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.05584, allocations: 0 / 330 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.05585, allocations: 4 kB / 330 MB, free: 0.668 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 4.824e-05/0.0559, allocations: 109.8 kB / 330.1 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.05592, allocations: 7.938 kB / 330.1 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.05605, allocations: 155.8 kB / 330.2 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.635e-05/0.05609, allocations: 71.12 kB / 330.3 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.0561, allocations: 0 / 330.3 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.0561, allocations: 7.984 kB / 330.3 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.05635, allocations: 318.4 kB / 330.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.05635, allocations: 0 / 330.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.05639, allocations: 19.98 kB / 330.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.0564, allocations: 7.953 kB / 330.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.0564, allocations: 0 / 330.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.0564, allocations: 3.938 kB / 330.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.0564, allocations: 4 kB / 330.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.05641, allocations: 0 / 330.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.05652, allocations: 235 kB / 330.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.05653, allocations: 4 kB / 330.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.05655, allocations: 4 kB / 330.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.05657, allocations: 11.92 kB / 330.9 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.05657, allocations: 0 / 330.9 MB, free: 15.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.035e-06/0.05658, allocations: 8.859 kB / 330.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05658, allocations: 0 / 330.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001098/0.05768, allocations: 362.9 kB / 331.3 MB, free: 15.3 MB / 330.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.009386/0.06706, allocations: 4.188 MB / 335.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.06723, allocations: 75.95 kB / 335.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.06724, allocations: 0 / 335.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.06727, allocations: 44.83 kB / 335.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.06751, allocations: 47.84 kB / 335.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.06927, allocations: 225.5 kB / 335.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.68e-05/0.0693, allocations: 63.94 kB / 335.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.403e-05/0.06935, allocations: 19.34 kB / 335.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.06943, allocations: 75.36 kB / 336 MB, free: 10.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.06943, allocations: 4 kB / 336 MB, free: 10.5 MB / 330.7 MB Notification: Performance of Templates: time 0.01858/0.08801, allocations: 20.54 MB / 356.5 MB, free: 5.973 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.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.6337144393473864]