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.001472/0.001472, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001615/0.001615, allocations: 156.5 kB / 24.55 MB, free: 20 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.059/1.059, allocations: 177 MB / 204.8 MB, free: 5.602 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.2539/0.2539, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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.543e-06/1.543e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.748e-05, allocations: 2.312 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.008705/0.008733, allocations: 8.852 MB / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009652/0.01838, allocations: 13.9 MB / 401.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.01842, allocations: 4 kB / 401.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.01862, allocations: 39.75 kB / 401.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004222/0.02284, allocations: 2.479 MB / 404 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.058e-05/0.0229, allocations: 27.91 kB / 404 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.02303, allocations: 131.1 kB / 404.2 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.02306, allocations: 3.984 kB / 404.2 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.02321, allocations: 83.78 kB / 404.3 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.02327, allocations: 35.91 kB / 404.3 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.02329, allocations: 4 kB / 404.3 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007007/0.03029, allocations: 7.145 MB / 411.4 MB, free: 1.309 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.03032, allocations: 19.91 kB / 411.5 MB, free: 1.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.03037, allocations: 39.92 kB / 411.5 MB, free: 1.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008914/0.03929, allocations: 6.644 MB / 418.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.03929, allocations: 0 / 418.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03929, allocations: 0 / 418.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.0393, allocations: 0 / 418.1 MB, free: 10.6 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.002299/0.0416, allocations: 0.7543 MB / 418.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.04164, allocations: 12.03 kB / 418.9 MB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.04181, allocations: 55.7 kB / 419 MB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.818e-05/0.04189, allocations: 119.9 kB / 419.1 MB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.0419, allocations: 4 kB / 419.1 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.04193, allocations: 15.98 kB / 419.1 MB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.04218, allocations: 191.4 kB / 419.3 MB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.04219, allocations: 0 / 419.3 MB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.04221, allocations: 4 kB / 419.3 MB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.04222, allocations: 7.938 kB / 419.3 MB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.04233, allocations: 79.81 kB / 419.4 MB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.04278, allocations: 371.4 kB / 419.7 MB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.04298, allocations: 123 kB / 419.9 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.04302, allocations: 35.67 kB / 419.9 MB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.04408, allocations: 0.6434 MB / 420.5 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.04429, allocations: 206 kB / 420.7 MB, free: 7.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.04429, allocations: 0 / 420.7 MB, free: 7.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003706/0.04466, allocations: 199.7 kB / 420.9 MB, free: 7.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.0447, allocations: 63.41 kB / 421 MB, free: 7.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.04476, allocations: 165.9 kB / 421.2 MB, free: 7.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.04478, allocations: 29.7 kB / 421.2 MB, free: 7.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.04482, allocations: 138.8 kB / 421.3 MB, free: 7.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.04485, allocations: 47.55 kB / 421.4 MB, free: 7.141 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.04489, allocations: 43.36 kB / 421.4 MB, free: 7.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.045, allocations: 0.4923 MB / 421.9 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.678e-05/0.04504, allocations: 23.98 kB / 421.9 MB, free: 6.562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.04509, allocations: 59.28 kB / 422 MB, free: 6.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.476e-05/0.04518, allocations: 85.48 kB / 422.1 MB, free: 6.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.04518, allocations: 0 / 422.1 MB, free: 6.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001598/0.04534, allocations: 137.4 kB / 422.2 MB, free: 6.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.04535, allocations: 4 kB / 422.2 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.04535, allocations: 0 / 422.2 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.04537, allocations: 4 kB / 422.2 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.04545, allocations: 23.98 kB / 422.2 MB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.04546, allocations: 4 kB / 422.2 MB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.04549, allocations: 11.94 kB / 422.2 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.04551, allocations: 4 kB / 422.3 MB, free: 6.215 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.527e-05/0.04558, allocations: 179.4 kB / 422.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.04563, allocations: 27.8 kB / 422.5 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.0459, allocations: 245.6 kB / 422.7 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001549/0.04606, allocations: 201.7 kB / 422.9 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.04606, allocations: 0 / 422.9 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.04607, allocations: 3.984 kB / 422.9 MB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.04655, allocations: 0.5905 MB / 423.5 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.04655, allocations: 0 / 423.5 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.04662, allocations: 23.98 kB / 423.5 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.04662, allocations: 0 / 423.5 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.04663, allocations: 8 kB / 423.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.04663, allocations: 0 / 423.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.04663, allocations: 0 / 423.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.04694, allocations: 407.8 kB / 423.9 MB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.04695, allocations: 19.88 kB / 423.9 MB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.04696, allocations: 8 kB / 423.9 MB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.04703, allocations: 11.98 kB / 424 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.04708, allocations: 23.95 kB / 424 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.0471, allocations: 15.94 kB / 424 MB, free: 4.391 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.04713, allocations: 123.2 kB / 424.1 MB, free: 4.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04713, allocations: 0 / 424.1 MB, free: 4.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001315/0.04845, allocations: 462.6 kB / 424.6 MB, free: 3.816 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.00999/0.05844, allocations: 4.95 MB / 429.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.05864, allocations: 149.2 kB / 429.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.05864, allocations: 0 / 429.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.05872, allocations: 87.58 kB / 429.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.05904, allocations: 75.84 kB / 429.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.05982, allocations: 366.7 kB / 430.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.05987, allocations: 73 kB / 430.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.358e-05/0.05995, allocations: 56.8 kB / 430.3 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.05999, allocations: 24.5 kB / 430.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.05999, allocations: 3.938 kB / 430.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of Templates: time 0.1522/0.2122, allocations: 21.33 MB / 451.7 MB, free: 74.9 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: 5.1553497719578445]