Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 34.25 MB / 295.4 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 83.86 kB / 443.1 MB, free: 6.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2913, allocations: 66.06 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.008933/0.3002, allocations: 8.348 MB / 0.5054 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.3116, allocations: 12.4 MB / 0.5175 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.3116, allocations: 1.125 kB / 0.5175 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.3119, allocations: 33.77 kB / 0.5176 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006758/0.3186, allocations: 2.425 MB / 0.5199 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.3187, allocations: 25.86 kB / 0.52 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.3189, allocations: 127.3 kB / 0.5201 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.319, allocations: 11.28 kB / 0.5201 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.3191, allocations: 66.53 kB / 0.5201 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.3192, allocations: 41.81 kB / 0.5202 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.3192, allocations: 2.844 kB / 0.5202 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01355/0.3328, allocations: 7.127 MB / 0.5272 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.3328, allocations: 11.17 kB / 0.5272 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.3329, allocations: 38.03 kB / 0.5272 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02156/0.3545, allocations: 6.339 MB / 0.5334 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3545, allocations: 4 kB / 0.5334 GB, free: 13.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3545, allocations: 1.344 kB / 0.5334 GB, free: 13.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.3545, allocations: 0 / 0.5334 GB, free: 13.65 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.008051/0.3626, allocations: 0.6656 MB / 0.534 GB, free: 13.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3626, allocations: 13.48 kB / 0.5341 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.3629, allocations: 24.69 kB / 0.5341 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.3629, allocations: 111.9 kB / 0.5342 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.363, allocations: 3.5 kB / 0.5342 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.363, allocations: 12.91 kB / 0.5342 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.3634, allocations: 204.9 kB / 0.5344 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3634, allocations: 3.938 kB / 0.5344 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.3634, allocations: 5.219 kB / 0.5344 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3634, allocations: 2 kB / 0.5344 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.3638, allocations: 117.1 kB / 0.5345 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.3643, allocations: 327.6 kB / 0.5348 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.3647, allocations: 133.5 kB / 0.535 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.3648, allocations: 55.48 kB / 0.535 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002124/0.367, allocations: 0.6394 MB / 0.5356 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.3673, allocations: 219.7 kB / 0.5358 GB, free: 11.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.3673, allocations: 0 / 0.5358 GB, free: 11.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007604/0.3681, allocations: 231.6 kB / 0.5361 GB, free: 11.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3681, allocations: 53.44 kB / 0.5361 GB, free: 11.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.499e-05/0.3681, allocations: 104.6 kB / 0.5362 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3682, allocations: 30.77 kB / 0.5362 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.3682, allocations: 95.03 kB / 0.5363 GB, free: 11.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.3682, allocations: 52.86 kB / 0.5364 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.3683, allocations: 34.45 kB / 0.5364 GB, free: 11.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.3683, allocations: 328.9 kB / 0.5367 GB, free: 11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3684, allocations: 44.59 kB / 0.5368 GB, free: 10.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3686, allocations: 61.84 kB / 0.5368 GB, free: 10.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.3688, allocations: 110.3 kB / 0.5369 GB, free: 10.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3688, allocations: 256 / 0.5369 GB, free: 10.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000359/0.3692, allocations: 160.7 kB / 0.5371 GB, free: 10.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3692, allocations: 5.062 kB / 0.5371 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3692, allocations: 4.969 kB / 0.5371 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3692, allocations: 1.094 kB / 0.5371 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3693, allocations: 25.39 kB / 0.5371 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3693, allocations: 5.125 kB / 0.5371 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3694, allocations: 19.88 kB / 0.5372 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3695, allocations: 8.125 kB / 0.5372 GB, free: 10.75 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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 6.666e-05/0.3695, allocations: 126.7 kB / 0.5373 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.3696, allocations: 9.422 kB / 0.5373 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005541/0.3702, allocations: 357.8 kB / 0.5376 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004156/0.3706, allocations: 306.3 kB / 0.5379 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3706, allocations: 5.438 kB / 0.5379 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3706, allocations: 0 / 0.5379 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009189/0.3715, allocations: 0.6523 MB / 0.5386 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3715, allocations: 0 / 0.5386 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3716, allocations: 34.59 kB / 0.5386 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3716, allocations: 1.312 kB / 0.5386 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3716, allocations: 6.094 kB / 0.5386 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3716, allocations: 4.938 kB / 0.5386 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3717, allocations: 0 / 0.5386 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.3723, allocations: 455.9 kB / 0.539 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3723, allocations: 16.97 kB / 0.5391 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3723, allocations: 9.141 kB / 0.5391 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.3725, allocations: 22.52 kB / 0.5391 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.3726, allocations: 23.64 kB / 0.5391 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.3726, allocations: 9.594 kB / 0.5391 GB, free: 9.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.309e-05/0.3726, allocations: 87.14 kB / 0.5392 GB, free: 9.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3726, allocations: 1.281 kB / 0.5392 GB, free: 9.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006772/0.3794, allocations: 454.9 kB / 0.5396 GB, free: 9.234 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.0268/0.4062, allocations: 4.888 MB / 0.5444 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005165/0.4067, allocations: 193.5 kB / 0.5446 GB, free: 4.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4067, allocations: 4 kB / 0.5446 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.4069, allocations: 102.9 kB / 0.5447 GB, free: 4.668 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.4075, allocations: 83.92 kB / 0.5448 GB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.4082, allocations: 383.1 kB / 0.5451 GB, free: 4.188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.29e-05/0.4082, allocations: 115.2 kB / 0.5453 GB, free: 4.055 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.4083, allocations: 52.86 kB / 0.5453 GB, free: 4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.4084, allocations: 24.48 kB / 0.5453 GB, free: 3.973 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4084, allocations: 3.938 kB / 0.5453 GB, free: 3.969 MB / 446.1 MB Notification: Performance of Templates: time 0.03143/0.4398, allocations: 21.08 MB / 0.5659 GB, free: 14.9 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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: 8.566395255038515]