Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.002484/0.002484, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002832/0.002832, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.702/1.702, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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.347/0.347, allocations: 34.26 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 180] 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_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.829e-06, allocations: 4 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.502e-05, allocations: 6.953 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01467/0.0147, allocations: 8.49 MB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01622/0.03092, allocations: 11.04 MB / 396.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.031, allocations: 4 kB / 396.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.03124, allocations: 35.77 kB / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.0376, allocations: 1.878 MB / 398.7 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.247e-06/0.03761, allocations: 0 / 398.7 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.03774, allocations: 55.55 kB / 398.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.03778, allocations: 11.98 kB / 398.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.03795, allocations: 39.84 kB / 398.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.03799, allocations: 11.94 kB / 398.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.03801, allocations: 0 / 398.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01351/0.05151, allocations: 6.591 MB / 405.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.05154, allocations: 7.922 kB / 405.4 MB, free: 6.668 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.0516, allocations: 15.94 kB / 405.4 MB, free: 6.652 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.06866, allocations: 5.333 MB / 410.7 MB, free: 1.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.06866, allocations: 4 kB / 410.7 MB, free: 1.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.06867, allocations: 4 kB / 410.7 MB, free: 1.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.06867, allocations: 0 / 410.7 MB, free: 1.305 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.003193/0.07187, allocations: 0.6031 MB / 411.3 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.07192, allocations: 8.031 kB / 411.3 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.07211, allocations: 27.88 kB / 411.4 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.07224, allocations: 108.1 kB / 411.5 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.07225, allocations: 3.984 kB / 411.5 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.07227, allocations: 11.94 kB / 411.5 MB, free: 492 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.07241, allocations: 53.62 kB / 411.5 MB, free: 432 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.07242, allocations: 0 / 411.5 MB, free: 432 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.07243, allocations: 4 kB / 411.5 MB, free: 428 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.07244, allocations: 11.92 kB / 411.6 MB, free: 416 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.07254, allocations: 35.98 kB / 411.6 MB, free: 380 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.0731, allocations: 307.7 kB / 411.9 MB, free: 36 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.07322, allocations: 50.98 kB / 411.9 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.07327, allocations: 23.75 kB / 412 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003133/0.0764, allocations: 0.8461 MB / 412.8 MB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.07645, allocations: 45.42 kB / 412.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.07645, allocations: 3.938 kB / 412.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000365/0.07681, allocations: 113.6 kB / 413 MB, free: 14.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.07686, allocations: 55.41 kB / 413 MB, free: 14.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.07701, allocations: 157.9 kB / 413.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.07703, allocations: 29.7 kB / 413.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.07712, allocations: 134.8 kB / 413.3 MB, free: 14.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.07716, allocations: 31.73 kB / 413.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.07722, allocations: 31.36 kB / 413.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.07749, allocations: 496.1 kB / 413.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.07753, allocations: 20 kB / 413.9 MB, free: 13.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.0776, allocations: 43.36 kB / 413.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.07771, allocations: 71.33 kB / 414 MB, free: 13.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.07771, allocations: 0 / 414 MB, free: 13.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002079/0.07792, allocations: 101.9 kB / 414.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.07794, allocations: 4 kB / 414.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.07795, allocations: 4.188 kB / 414.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.07796, allocations: 0 / 414.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.07802, allocations: 12 kB / 414.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.07803, allocations: 3.984 kB / 414.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.07807, allocations: 7.969 kB / 414.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.07808, allocations: 4 kB / 414.1 MB, free: 13.66 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 0.0001249/0.07821, allocations: 160.6 kB / 414.3 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.07826, allocations: 11.89 kB / 414.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.07854, allocations: 132.7 kB / 414.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001776/0.07871, allocations: 109.7 kB / 414.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.07872, allocations: 0 / 414.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.07872, allocations: 0 / 414.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.07929, allocations: 417 kB / 415 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.07929, allocations: 4 kB / 415 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.07936, allocations: 23.92 kB / 415 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.07937, allocations: 4 kB / 415 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.07938, allocations: 0 / 415 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.07938, allocations: 0 / 415 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.07938, allocations: 0 / 415 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.07971, allocations: 279.9 kB / 415.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.07972, allocations: 11.94 kB / 415.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.07974, allocations: 4 kB / 415.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.345e-05/0.07979, allocations: 0 / 415.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.07982, allocations: 11.98 kB / 415.3 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.07983, allocations: 4 kB / 415.3 MB, free: 12.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.061e-05/0.0799, allocations: 123.2 kB / 415.4 MB, free: 12.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0799, allocations: 0 / 415.4 MB, free: 12.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002556/0.08246, allocations: 374.8 kB / 415.8 MB, free: 11.93 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.0151/0.09756, allocations: 4.138 MB / 419.9 MB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.09787, allocations: 106.7 kB / 420 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.09787, allocations: 4.062 kB / 420 MB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.09796, allocations: 47.67 kB / 420.1 MB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.09842, allocations: 44.36 kB / 420.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.09888, allocations: 204.4 kB / 420.3 MB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.457e-05/0.09898, allocations: 83.52 kB / 420.4 MB, free: 7.238 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.09902, allocations: 8 kB / 420.4 MB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.09906, allocations: 20.44 kB / 420.4 MB, free: 7.211 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.09906, allocations: 0 / 420.4 MB, free: 7.211 MB / 394.7 MB Notification: Performance of Templates: time 0.03204/0.1311, allocations: 18.55 MB / 439 MB, free: 4.648 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.455786644015461]