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.001992/0.001992, 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.002537/0.002537, 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.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3305/0.3305, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.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.944e-06/1.944e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.732e-05/3.926e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01355/0.01358, allocations: 8.048 MB / 385.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.02779, allocations: 9.873 MB / 395.2 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.02784, allocations: 4 kB / 395.2 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.02805, allocations: 27.83 kB / 395.2 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005247/0.0333, allocations: 1.882 MB / 397.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.392e-06/0.03331, allocations: 4 kB / 397.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.03342, allocations: 51.61 kB / 397.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.03345, allocations: 7.922 kB / 397.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.03361, allocations: 43.84 kB / 397.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.03365, allocations: 11.94 kB / 397.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.03366, allocations: 0 / 397.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/0.04512, allocations: 6.588 MB / 403.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.04514, allocations: 7.922 kB / 403.8 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.0452, allocations: 23.88 kB / 403.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.05889, allocations: 5.326 MB / 409.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.0589, allocations: 4 kB / 409.2 MB, free: 2.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.0589, allocations: 4 kB / 409.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.05891, allocations: 0 / 409.2 MB, free: 2.98 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.003111/0.06202, allocations: 0.5036 MB / 409.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.06206, allocations: 8.031 kB / 409.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.06223, allocations: 27.88 kB / 409.7 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.06235, allocations: 113.2 kB / 409.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.06236, allocations: 0 / 409.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.06238, allocations: 7.984 kB / 409.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.06253, allocations: 77.62 kB / 409.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.06254, allocations: 0 / 409.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.06255, allocations: 4 kB / 409.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.06256, allocations: 11.92 kB / 409.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.06269, allocations: 75.97 kB / 410 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.06316, allocations: 268.4 kB / 410.3 MB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.06324, allocations: 34.56 kB / 410.3 MB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.0633, allocations: 24.92 kB / 410.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003139/0.06643, allocations: 0.8422 MB / 411.2 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.06647, allocations: 34.67 kB / 411.2 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.06647, allocations: 3.938 kB / 411.2 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003382/0.06681, allocations: 125.5 kB / 411.3 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.06686, allocations: 51.41 kB / 411.4 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.06696, allocations: 101.8 kB / 411.5 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.06698, allocations: 29.7 kB / 411.5 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.06705, allocations: 84.09 kB / 411.6 MB, free: 428 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.06709, allocations: 35.72 kB / 411.6 MB, free: 392 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.06714, allocations: 21.72 kB / 411.6 MB, free: 364 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.06731, allocations: 310.8 kB / 411.9 MB, free: 44 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.06736, allocations: 23.98 kB / 412 MB, free: 20 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.06744, allocations: 41.78 kB / 412 MB, free: 15.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.06755, allocations: 65.66 kB / 412.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.06756, allocations: 0 / 412.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.06775, allocations: 93.56 kB / 412.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.06777, allocations: 11.98 kB / 412.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.06778, allocations: 0 / 412.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.06779, allocations: 0 / 412.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.06785, allocations: 8 kB / 412.2 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.06786, allocations: 0 / 412.2 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.0679, allocations: 19.92 kB / 412.2 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.06791, allocations: 3.984 kB / 412.2 MB, free: 15.76 MB / 394.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 9.816e-05/0.06801, allocations: 109.8 kB / 412.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.06806, allocations: 15.88 kB / 412.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.06835, allocations: 158 kB / 412.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001677/0.06852, allocations: 113.6 kB / 412.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.06853, allocations: 0 / 412.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.06853, allocations: 0 / 412.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.06905, allocations: 370.2 kB / 413 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.06905, allocations: 11.94 kB / 413 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.06911, allocations: 19.98 kB / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.06911, allocations: 0 / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.06913, allocations: 4 kB / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.06913, allocations: 0 / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.06913, allocations: 4 kB / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.06942, allocations: 238 kB / 413.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.06943, allocations: 4 kB / 413.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.06945, allocations: 0 / 413.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.13e-05/0.06951, allocations: 4 kB / 413.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.06953, allocations: 7.984 kB / 413.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.06954, allocations: 8 kB / 413.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.194e-05/0.06959, allocations: 79.27 kB / 413.3 MB, free: 14.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06959, allocations: 4 kB / 413.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002067/0.07166, allocations: 370.8 kB / 413.7 MB, free: 14.19 MB / 394.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.01523/0.08689, allocations: 4.139 MB / 417.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.0872, allocations: 111 kB / 417.9 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.08721, allocations: 64 / 417.9 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.0873, allocations: 55.92 kB / 418 MB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.08778, allocations: 32.09 kB / 418 MB, free: 9.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.08824, allocations: 202.8 kB / 418.2 MB, free: 9.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.347e-05/0.08834, allocations: 87.47 kB / 418.3 MB, free: 9.512 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.08839, allocations: 12.12 kB / 418.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.08843, allocations: 16.5 kB / 418.3 MB, free: 9.484 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.08843, allocations: 0 / 418.3 MB, free: 9.484 MB / 394.7 MB Notification: Performance of Templates: time 0.03091/0.1193, allocations: 18.5 MB / 436.8 MB, free: 6.988 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.204534228076227]