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.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.001736/0.001736, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001988/0.001988, allocations: 164 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.485/1.485, allocations: 177.2 MB / 204.9 MB, free: 9.066 MB / 190.1 MB " [Timeout remaining time 178] 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.1992/0.1992, allocations: 32.81 MB / 294.1 MB, free: 64 kB / 270.1 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 67.89 kB / 440.6 MB, free: 9.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3188, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008625/0.3274, allocations: 8.034 MB / 0.502 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008048/0.3354, allocations: 9.883 MB / 0.5116 GB, free: 20.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.3355, allocations: 4 kB / 0.5116 GB, free: 20.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.3357, allocations: 36.33 kB / 0.5117 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004025/0.3397, allocations: 1.839 MB / 0.5135 GB, free: 19.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.601e-06/0.3397, allocations: 3.938 kB / 0.5135 GB, free: 19.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.3398, allocations: 47.36 kB / 0.5135 GB, free: 19.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.3398, allocations: 5.359 kB / 0.5135 GB, free: 19.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3399, allocations: 30.33 kB / 0.5135 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.34, allocations: 15.42 kB / 0.5136 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.216e-06/0.34, allocations: 3 kB / 0.5136 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.3509, allocations: 6.582 MB / 0.52 GB, free: 18.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3509, allocations: 1.219 kB / 0.52 GB, free: 18.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.351, allocations: 16.36 kB / 0.52 GB, free: 18.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01725/0.3682, allocations: 5.096 MB / 0.525 GB, free: 18.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3682, allocations: 1.125 kB / 0.525 GB, free: 18.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3682, allocations: 4 kB / 0.525 GB, free: 18.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3682, allocations: 0 / 0.525 GB, free: 18.22 MB / 446.1 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.006188/0.3744, allocations: 0.502 MB / 0.5255 GB, free: 17.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3745, allocations: 8.688 kB / 0.5255 GB, free: 17.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.3746, allocations: 9.328 kB / 0.5255 GB, free: 17.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.165e-05/0.3747, allocations: 110.4 kB / 0.5256 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3747, allocations: 5.141 kB / 0.5256 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3747, allocations: 7.281 kB / 0.5256 GB, free: 17.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3749, allocations: 74.69 kB / 0.5257 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3749, allocations: 3.938 kB / 0.5257 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3749, allocations: 5.062 kB / 0.5257 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.3749, allocations: 5.062 kB / 0.5257 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.375, allocations: 78 kB / 0.5258 GB, free: 17.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.3755, allocations: 268 kB / 0.526 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.3755, allocations: 44.2 kB / 0.5261 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.3756, allocations: 24.28 kB / 0.5261 GB, free: 17.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00295/0.3785, allocations: 0.8063 MB / 0.5269 GB, free: 17.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.3785, allocations: 32.81 kB / 0.5269 GB, free: 17.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3786, allocations: 0 / 0.5269 GB, free: 17.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002692/0.3788, allocations: 111.6 kB / 0.527 GB, free: 17.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.3788, allocations: 51.92 kB / 0.5271 GB, free: 16.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.3789, allocations: 97.23 kB / 0.5272 GB, free: 16.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.3789, allocations: 26.83 kB / 0.5272 GB, free: 16.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.137e-05/0.3789, allocations: 86 kB / 0.5273 GB, free: 16.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.3789, allocations: 33.88 kB / 0.5273 GB, free: 16.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.379, allocations: 21.89 kB / 0.5273 GB, free: 16.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.379, allocations: 318.4 kB / 0.5276 GB, free: 16.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.3791, allocations: 23.89 kB / 0.5276 GB, free: 16.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.3791, allocations: 37.95 kB / 0.5277 GB, free: 16.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.135e-05/0.3792, allocations: 66.2 kB / 0.5277 GB, free: 16.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3792, allocations: 4.062 kB / 0.5278 GB, free: 16.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001567/0.3794, allocations: 98.89 kB / 0.5278 GB, free: 16.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3794, allocations: 4.781 kB / 0.5278 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3794, allocations: 5.156 kB / 0.5279 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3794, allocations: 0.75 kB / 0.5279 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.3795, allocations: 12.48 kB / 0.5279 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3795, allocations: 1.828 kB / 0.5279 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.3795, allocations: 1.781 kB / 0.5279 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3795, allocations: 6.781 kB / 0.5279 GB, free: 16.21 MB / 446.1 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.917e-05/0.3796, allocations: 118.5 kB / 0.528 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.3796, allocations: 5.578 kB / 0.528 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.3799, allocations: 152.3 kB / 0.5281 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001264/0.38, allocations: 121 kB / 0.5283 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.38, allocations: 1.219 kB / 0.5283 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.38, allocations: 0.7031 kB / 0.5283 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.3804, allocations: 379.5 kB / 0.5286 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3804, allocations: 0 / 0.5286 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.3805, allocations: 17.98 kB / 0.5286 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3805, allocations: 1.375 kB / 0.5286 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3805, allocations: 2.031 kB / 0.5286 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3805, allocations: 1.375 kB / 0.5286 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3805, allocations: 4.547 kB / 0.5286 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.3807, allocations: 221.6 kB / 0.5289 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.3807, allocations: 3.453 kB / 0.5289 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3807, allocations: 2.031 kB / 0.5289 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.3807, allocations: 4 kB / 0.5289 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.3808, allocations: 11.34 kB / 0.5289 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.3808, allocations: 3.359 kB / 0.5289 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.691e-05/0.3808, allocations: 80.59 kB / 0.529 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3808, allocations: 3.938 kB / 0.529 GB, free: 15.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005448/0.3862, allocations: 370.2 kB / 0.5293 GB, free: 15.27 MB / 446.1 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.01967/0.4059, allocations: 4.09 MB / 0.5333 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.4062, allocations: 104.2 kB / 0.5334 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4062, allocations: 1.125 kB / 0.5334 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.4063, allocations: 40.75 kB / 0.5334 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.4067, allocations: 43.8 kB / 0.5335 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.4072, allocations: 217.2 kB / 0.5337 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.952e-05/0.4072, allocations: 74.45 kB / 0.5338 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.4073, allocations: 18.09 kB / 0.5338 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.4073, allocations: 16.59 kB / 0.5338 GB, free: 12.75 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4073, allocations: 0 / 0.5338 GB, free: 12.75 MB / 446.1 MB Notification: Performance of Templates: time 0.02513/0.4324, allocations: 18.27 MB / 0.5516 GB, free: 13.84 MB / 462.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.630273126997054]