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.001104/0.001104, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001132/0.001132, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9819/0.9819, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.263/0.263, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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_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 1.934e-06/1.934e-06, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.132e-05, allocations: 2.875 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.009772/0.009793, allocations: 8.864 MB / 387.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.02046, allocations: 13.88 MB / 401.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.02054, allocations: 4 kB / 401.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.02082, allocations: 39.75 kB / 401.5 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.02651, allocations: 2.49 MB / 404 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.13e-05/0.02658, allocations: 15.98 kB / 404.1 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.02674, allocations: 135.1 kB / 404.2 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.02677, allocations: 3.984 kB / 404.2 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.02694, allocations: 87.72 kB / 404.3 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.968e-05/0.02701, allocations: 35.91 kB / 404.3 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.02703, allocations: 8 kB / 404.3 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007715/0.03474, allocations: 7.145 MB / 411.5 MB, free: 1.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.03477, allocations: 15.92 kB / 411.5 MB, free: 1.266 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.03483, allocations: 39.91 kB / 411.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009688/0.04452, allocations: 6.644 MB / 418.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.04452, allocations: 0 / 418.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.04452, allocations: 0 / 418.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.04453, allocations: 0 / 418.2 MB, free: 10.57 MB / 394.7 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.002529/0.04705, allocations: 0.7621 MB / 418.9 MB, free: 9.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.04709, allocations: 12.03 kB / 418.9 MB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.04727, allocations: 51.7 kB / 419 MB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.04735, allocations: 115.9 kB / 419.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.04736, allocations: 7.984 kB / 419.1 MB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.04738, allocations: 12 kB / 419.1 MB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.04763, allocations: 191.4 kB / 419.3 MB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.04764, allocations: 0 / 419.3 MB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.04765, allocations: 4 kB / 419.3 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.04767, allocations: 11.92 kB / 419.3 MB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.04779, allocations: 75.89 kB / 419.4 MB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.04823, allocations: 371.4 kB / 419.8 MB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.04841, allocations: 115 kB / 419.9 MB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.04846, allocations: 35.67 kB / 419.9 MB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.04955, allocations: 0.6473 MB / 420.6 MB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.04977, allocations: 202.1 kB / 420.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.04977, allocations: 0 / 420.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003871/0.05016, allocations: 213.3 kB / 421 MB, free: 7.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.05019, allocations: 55.41 kB / 421 MB, free: 7.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.05026, allocations: 165.9 kB / 421.2 MB, free: 7.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.05028, allocations: 33.7 kB / 421.2 MB, free: 7.301 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.05031, allocations: 138.8 kB / 421.3 MB, free: 7.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.05035, allocations: 43.61 kB / 421.4 MB, free: 7.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.05039, allocations: 43.36 kB / 421.4 MB, free: 7.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.0505, allocations: 0.4962 MB / 421.9 MB, free: 6.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.05054, allocations: 23.98 kB / 421.9 MB, free: 6.535 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.05059, allocations: 51.34 kB / 422 MB, free: 6.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.262e-05/0.05068, allocations: 81.48 kB / 422.1 MB, free: 6.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.05068, allocations: 0 / 422.1 MB, free: 6.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001681/0.05085, allocations: 145.4 kB / 422.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.05086, allocations: 4 kB / 422.2 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.05087, allocations: 0 / 422.2 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.05088, allocations: 4 kB / 422.2 MB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.05096, allocations: 23.98 kB / 422.3 MB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.05097, allocations: 3.984 kB / 422.3 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.05101, allocations: 15.95 kB / 422.3 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.05102, allocations: 7.938 kB / 422.3 MB, free: 6.184 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: 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 7.512e-05/0.0511, allocations: 171.7 kB / 422.4 MB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.05114, allocations: 27.81 kB / 422.5 MB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.05143, allocations: 249.5 kB / 422.7 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001593/0.05159, allocations: 201.7 kB / 422.9 MB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.0516, allocations: 0 / 422.9 MB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.0516, allocations: 3.984 kB / 422.9 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.05209, allocations: 0.5789 MB / 423.5 MB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.05209, allocations: 0 / 423.5 MB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.05242, allocations: 27.98 kB / 423.5 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.05242, allocations: 4 kB / 423.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.05243, allocations: 8 kB / 423.5 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.05243, allocations: 0 / 423.5 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.05244, allocations: 0 / 423.5 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.05276, allocations: 403.8 kB / 423.9 MB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.05278, allocations: 19.84 kB / 423.9 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.05279, allocations: 4 kB / 424 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.05287, allocations: 15.98 kB / 424 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.05292, allocations: 23.95 kB / 424 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.05294, allocations: 15.94 kB / 424 MB, free: 4.371 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.177e-05/0.05297, allocations: 131.2 kB / 424.1 MB, free: 4.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05297, allocations: 0 / 424.1 MB, free: 4.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00132/0.05429, allocations: 458.6 kB / 424.6 MB, free: 3.793 MB / 394.7 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.01071/0.065, allocations: 4.948 MB / 429.5 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.06525, allocations: 148.3 kB / 429.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.06525, allocations: 0 / 429.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.06535, allocations: 95.58 kB / 429.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.06569, allocations: 76.03 kB / 429.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008518/0.06654, allocations: 370.7 kB / 430.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.572e-05/0.06658, allocations: 76.94 kB / 430.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.856e-05/0.06668, allocations: 48.86 kB / 430.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.06672, allocations: 24.5 kB / 430.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.06672, allocations: 0 / 430.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of Templates: time 0.163/0.2297, allocations: 24.65 MB / 455 MB, free: 74.63 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.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.660029185935855]