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.001468/0.001468, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001638/0.001638, allocations: 161 kB / 24.56 MB, free: 16 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 0.9616/0.9616, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2244/0.2244, allocations: 32.81 MB / 294.3 MB, free: 1.262 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 2.094e-06/2.094e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.228e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0132/0.01323, allocations: 8.491 MB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008673/0.0219, allocations: 11.05 MB / 395.5 MB, free: 1.059 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.02195, allocations: 0 / 395.5 MB, free: 1.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.02216, allocations: 35.81 kB / 395.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.02608, allocations: 1.89 MB / 397.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.65e-06/0.02608, allocations: 4 kB / 397.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.816e-05/0.02618, allocations: 39.67 kB / 397.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.02622, allocations: 11.94 kB / 397.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.02634, allocations: 35.83 kB / 397.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.02637, allocations: 15.98 kB / 397.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.02638, allocations: 0 / 397.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006608/0.03299, allocations: 6.595 MB / 404.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.033, allocations: 3.938 kB / 404.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.03304, allocations: 8 kB / 404.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009178/0.04222, allocations: 5.349 MB / 409.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.04223, allocations: 0 / 409.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.04223, allocations: 0 / 409.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.04224, allocations: 0 / 409.5 MB, free: 3.047 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.002475/0.04471, allocations: 0.5954 MB / 410.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.04476, allocations: 8.031 kB / 410.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.04492, allocations: 27.88 kB / 410.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.381e-05/0.04499, allocations: 108 kB / 410.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.04501, allocations: 7.938 kB / 410.3 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.04502, allocations: 8 kB / 410.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.04515, allocations: 57.67 kB / 410.3 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.04516, allocations: 0 / 410.3 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.04517, allocations: 0 / 410.3 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.04518, allocations: 3.938 kB / 410.3 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.246e-05/0.04524, allocations: 31.98 kB / 410.4 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.04564, allocations: 303.6 kB / 410.7 MB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.0457, allocations: 47.05 kB / 410.7 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.04573, allocations: 19.69 kB / 410.7 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.04727, allocations: 0.8577 MB / 411.6 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.0473, allocations: 37.42 kB / 411.6 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.0473, allocations: 0 / 411.6 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002447/0.04754, allocations: 97.67 kB / 411.7 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.04758, allocations: 55.34 kB / 411.8 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.04765, allocations: 157.9 kB / 411.9 MB, free: 484 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.04767, allocations: 25.7 kB / 411.9 MB, free: 452 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.04771, allocations: 134.8 kB / 412.1 MB, free: 312 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.04773, allocations: 31.73 kB / 412.1 MB, free: 280 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.04777, allocations: 27.61 kB / 412.1 MB, free: 244 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.0479, allocations: 0.5 MB / 412.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.04792, allocations: 8 kB / 412.6 MB, free: 15.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.106e-05/0.04796, allocations: 39.36 kB / 412.7 MB, free: 15.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.625e-05/0.04803, allocations: 63.3 kB / 412.7 MB, free: 15.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.04803, allocations: 0 / 412.7 MB, free: 15.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001359/0.04816, allocations: 89.52 kB / 412.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.04818, allocations: 4 kB / 412.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.04819, allocations: 0 / 412.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.04821, allocations: 4 kB / 412.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.04826, allocations: 12.03 kB / 412.9 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.04827, allocations: 0 / 412.9 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.04829, allocations: 0 / 412.9 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.04831, allocations: 11.98 kB / 412.9 MB, free: 15.48 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 8.296e-05/0.04839, allocations: 152.6 kB / 413 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.04843, allocations: 15.83 kB / 413 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.04861, allocations: 125.9 kB / 413.2 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.534e-05/0.0487, allocations: 93.67 kB / 413.2 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.0487, allocations: 0 / 413.2 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.04871, allocations: 4 kB / 413.2 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.04903, allocations: 409.1 kB / 413.6 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.04904, allocations: 0 / 413.6 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.04908, allocations: 12.25 kB / 413.7 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.04908, allocations: 0 / 413.7 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.04909, allocations: 11.98 kB / 413.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.04909, allocations: 0 / 413.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.04909, allocations: 0 / 413.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.04925, allocations: 263.8 kB / 413.9 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.04926, allocations: 11.89 kB / 413.9 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.04927, allocations: 8 kB / 413.9 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.793e-05/0.0493, allocations: 3.938 kB / 414 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.04932, allocations: 7.984 kB / 414 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.04933, allocations: 4 kB / 414 MB, free: 14.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.77e-05/0.04935, allocations: 123.2 kB / 414.1 MB, free: 14.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04935, allocations: 0 / 414.1 MB, free: 14.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001659/0.05101, allocations: 362.9 kB / 414.4 MB, free: 13.82 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.009447/0.06046, allocations: 4.135 MB / 418.6 MB, free: 9.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.06069, allocations: 110.6 kB / 418.7 MB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.06069, allocations: 0 / 418.7 MB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.06073, allocations: 47.61 kB / 418.7 MB, free: 9.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.06101, allocations: 40.06 kB / 418.8 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.06164, allocations: 208.5 kB / 419 MB, free: 9.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.06167, allocations: 59.36 kB / 419 MB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.627e-05/0.06172, allocations: 24.05 kB / 419.1 MB, free: 9.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.06175, allocations: 20.5 kB / 419.1 MB, free: 9.102 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.06175, allocations: 0 / 419.1 MB, free: 9.102 MB / 394.7 MB Notification: Performance of Templates: time 0.02088/0.08263, allocations: 21.09 MB / 440.2 MB, free: 4.008 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.261945766862482]