Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.0008479/0.0008479, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002035, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007007/0.0007007, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009084/0.001609, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9438/0.9438, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08766/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2504/0.2504, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02261/0.273, allocations: 13.11 MB / 291.5 MB, free: 7.32 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,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") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.087e-05, allocations: 4.312 kB / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008343/0.008364, allocations: 8.56 MB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008125/0.01649, allocations: 11.08 MB / 312.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.01653, allocations: 0 / 312.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.01666, allocations: 31.81 kB / 312.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.02061, allocations: 1.79 MB / 314.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.613e-06/0.02061, allocations: 8 kB / 314.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.02071, allocations: 51.56 kB / 314.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.02075, allocations: 7.984 kB / 314.4 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.02089, allocations: 31.91 kB / 314.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.225e-05/0.02092, allocations: 19.92 kB / 314.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.02093, allocations: 4 kB / 314.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007622/0.02856, allocations: 6.724 MB / 321.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.02858, allocations: 0 / 321.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.02862, allocations: 15.94 kB / 321.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008657/0.03728, allocations: 5.115 MB / 326.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.03729, allocations: 0 / 326.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.0373, allocations: 0 / 326.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.0373, allocations: 0 / 326.3 MB, free: 4.664 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.002405/0.03971, allocations: 1.287 MB / 327.5 MB, free: 3.328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.03975, allocations: 8.031 kB / 327.6 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.03989, allocations: 23.92 kB / 327.6 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.292e-05/0.03997, allocations: 117.1 kB / 327.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.03998, allocations: 4 kB / 327.7 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.03999, allocations: 4 kB / 327.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.308e-05/0.04008, allocations: 56.5 kB / 327.8 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.04008, allocations: 0 / 327.8 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.04009, allocations: 4 kB / 327.8 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.04009, allocations: 3.938 kB / 327.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.04013, allocations: 23.98 kB / 327.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.04037, allocations: 213.8 kB / 328 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.04041, allocations: 30.56 kB / 328 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.04043, allocations: 16.92 kB / 328 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/0.04242, allocations: 1.19 MB / 329.2 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.04244, allocations: 34.67 kB / 329.3 MB, free: 1.535 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.04244, allocations: 3.938 kB / 329.3 MB, free: 1.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001598/0.0426, allocations: 77.56 kB / 329.3 MB, free: 1.449 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.04262, allocations: 55.39 kB / 329.4 MB, free: 1.383 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.04268, allocations: 102.7 kB / 329.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.04269, allocations: 29.7 kB / 329.5 MB, free: 1.234 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.04272, allocations: 88.09 kB / 329.6 MB, free: 1.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.04274, allocations: 31.72 kB / 329.6 MB, free: 1.113 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.04276, allocations: 17.72 kB / 329.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.04283, allocations: 322.8 kB / 330 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.04284, allocations: 12 kB / 330 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.04286, allocations: 17.72 kB / 330 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.0429, allocations: 49.62 kB / 330.1 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.0429, allocations: 0 / 330.1 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.295e-05/0.04298, allocations: 69.92 kB / 330.1 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.043, allocations: 11.94 kB / 330.1 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.04301, allocations: 192 / 330.1 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.04302, allocations: 0 / 330.1 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.04306, allocations: 8 kB / 330.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.04306, allocations: 4.031 kB / 330.2 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.04308, allocations: 11.98 kB / 330.2 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.0431, allocations: 4.172 kB / 330.2 MB, free: 0.5625 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.995e-05/0.04315, allocations: 113.8 kB / 330.3 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.04317, allocations: 7.938 kB / 330.3 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.04329, allocations: 147.2 kB / 330.4 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-05/0.04334, allocations: 81.61 kB / 330.5 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.04334, allocations: 0 / 330.5 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.04334, allocations: 0 / 330.5 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.04359, allocations: 322.4 kB / 330.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.04359, allocations: 0 / 330.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.04363, allocations: 16 kB / 330.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.04364, allocations: 15.88 kB / 330.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.04364, allocations: 0 / 330.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.04365, allocations: 4 kB / 330.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.04365, allocations: 0 / 330.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.04365, allocations: 0 / 330.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.04376, allocations: 237 kB / 331.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.04377, allocations: 4 kB / 331.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.0438, allocations: 0 / 331.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.04381, allocations: 7.984 kB / 331.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.04382, allocations: 8 kB / 331.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.15e-05/0.04383, allocations: 8.844 kB / 331.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04383, allocations: 0 / 331.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001359/0.04519, allocations: 362.9 kB / 331.5 MB, free: 15.19 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.008846/0.05404, allocations: 4.179 MB / 335.7 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.05422, allocations: 83.89 kB / 335.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.05423, allocations: 0 / 335.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.05427, allocations: 44.78 kB / 335.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.05455, allocations: 77.62 kB / 335.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.05623, allocations: 225.5 kB / 336.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.05656, allocations: 63.94 kB / 336.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.964e-05/0.05661, allocations: 16.2 kB / 336.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.05669, allocations: 79.36 kB / 336.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.332e-06/0.05669, allocations: 0 / 336.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of Templates: time 0.01843/0.07512, allocations: 20 MB / 356.2 MB, free: 6.375 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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] Reference file matches [Calling sys.exit(0), Time elapsed: 3.725516166538]