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.001438/0.001438, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001544/0.001544, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 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.506/1.506, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.323/0.323, allocations: 32.79 MB / 293.9 MB, free: 1.191 MB / 266.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.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: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.828e-05, allocations: 5.688 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01324/0.01327, allocations: 8.024 MB / 383.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.0272, allocations: 9.861 MB / 393.1 MB, free: 3.047 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.02725, allocations: 0 / 393.1 MB, free: 3.047 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.02746, allocations: 35.83 kB / 393.1 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005332/0.03279, allocations: 1.886 MB / 395 MB, free: 1.117 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.921e-06/0.0328, allocations: 0 / 395 MB, free: 1.117 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.702e-05/0.0329, allocations: 43.67 kB / 395.1 MB, free: 1.074 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.03293, allocations: 4 kB / 395.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.0331, allocations: 43.77 kB / 395.1 MB, free: 1.027 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.263e-05/0.03313, allocations: 12 kB / 395.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.03314, allocations: 0 / 395.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.04414, allocations: 6.595 MB / 401.7 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.04415, allocations: 3.938 kB / 401.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.04421, allocations: 12 kB / 401.7 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.05747, allocations: 5.333 MB / 407.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.05748, allocations: 0 / 407.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05748, allocations: 0 / 407.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.05748, allocations: 0 / 407.1 MB, free: 5.051 MB / 378.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.002623/0.06011, allocations: 0.4997 MB / 407.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.06016, allocations: 12.03 kB / 407.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.06034, allocations: 27.88 kB / 407.6 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.06046, allocations: 117.1 kB / 407.7 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.06047, allocations: 4 kB / 407.7 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.06048, allocations: 0 / 407.7 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.06064, allocations: 85.66 kB / 407.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.06065, allocations: 0 / 407.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.06066, allocations: 0 / 407.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.06067, allocations: 3.938 kB / 407.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.0608, allocations: 79.95 kB / 407.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.0613, allocations: 268.4 kB / 408.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.06139, allocations: 38.56 kB / 408.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.06144, allocations: 24.91 kB / 408.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003147/0.06459, allocations: 0.846 MB / 409.1 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.06462, allocations: 30.56 kB / 409.1 MB, free: 2.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.06463, allocations: 0 / 409.1 MB, free: 2.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003417/0.06497, allocations: 125.6 kB / 409.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.06502, allocations: 51.41 kB / 409.3 MB, free: 2.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.06511, allocations: 89.86 kB / 409.4 MB, free: 2.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.06513, allocations: 25.7 kB / 409.4 MB, free: 2.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.06518, allocations: 88.09 kB / 409.5 MB, free: 2.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.06522, allocations: 31.73 kB / 409.5 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.06526, allocations: 17.72 kB / 409.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.06544, allocations: 322.8 kB / 409.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.06549, allocations: 16.11 kB / 409.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.06555, allocations: 41.64 kB / 409.9 MB, free: 2.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.06566, allocations: 65.78 kB / 410 MB, free: 1.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.06566, allocations: 0 / 410 MB, free: 1.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002095/0.06587, allocations: 113.4 kB / 410.1 MB, free: 1.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.06588, allocations: 4 kB / 410.1 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.06589, allocations: 0 / 410.1 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.06591, allocations: 0 / 410.1 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.06597, allocations: 8 kB / 410.1 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.06597, allocations: 0 / 410.1 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.066, allocations: 4 kB / 410.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.06602, allocations: 4 kB / 410.1 MB, free: 1.852 MB / 378.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 0.0001021/0.06612, allocations: 117.8 kB / 410.2 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.06617, allocations: 15.88 kB / 410.2 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.06646, allocations: 153.9 kB / 410.4 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001721/0.06663, allocations: 117.6 kB / 410.5 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.06664, allocations: 0 / 410.5 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.06664, allocations: 0 / 410.5 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.06718, allocations: 369.9 kB / 410.8 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.06718, allocations: 0 / 410.8 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-05/0.06724, allocations: 19.98 kB / 410.9 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.06725, allocations: 8 kB / 410.9 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.06726, allocations: 0 / 410.9 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.06726, allocations: 256 / 410.9 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.06726, allocations: 4 kB / 410.9 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.06756, allocations: 235 kB / 411.1 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.06757, allocations: 7.938 kB / 411.1 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.0676, allocations: 8 kB / 411.1 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.06767, allocations: 3.984 kB / 411.1 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.06769, allocations: 4 kB / 411.1 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.06769, allocations: 3.938 kB / 411.1 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.377e-05/0.06775, allocations: 87.27 kB / 411.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06775, allocations: 0 / 411.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00195/0.0697, allocations: 366.8 kB / 411.6 MB, free: 296 kB / 378.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.01504/0.08473, allocations: 4.131 MB / 415.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.08502, allocations: 107.3 kB / 415.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.08503, allocations: 0 / 415.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.248e-05/0.08511, allocations: 47.92 kB / 415.9 MB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.08556, allocations: 50.58 kB / 415.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.086, allocations: 194.8 kB / 416.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.718e-05/0.08609, allocations: 79.33 kB / 416.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.08614, allocations: 20.05 kB / 416.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.08619, allocations: 16.5 kB / 416.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.08619, allocations: 0 / 416.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of Templates: time 0.03023/0.1164, allocations: 18.43 MB / 434.6 MB, free: 9.152 MB / 410.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=480 -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/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",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.259514410048723]