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.001066/0.001066, allocations: 83.67 kB / 21.7 MB, free: 2.848 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.001163/0.001163, allocations: 160.7 kB / 24.99 MB, free: 9.324 MB / 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.078/1.078, allocations: 177 MB / 205.2 MB, free: 5.637 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.2886/0.2886, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 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.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.443e-05, allocations: 3.719 kB / 378.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.02275/0.02277, allocations: 8.838 MB / 387.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02225/0.04502, allocations: 13.87 MB / 401.5 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.04509, allocations: 0 / 401.5 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.04531, allocations: 43.73 kB / 401.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006255/0.05157, allocations: 2.475 MB / 404 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.959e-05/0.05164, allocations: 19.91 kB / 404 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.05178, allocations: 139.1 kB / 404.1 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.05182, allocations: 11.98 kB / 404.1 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.05198, allocations: 83.67 kB / 404.2 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.019e-05/0.05207, allocations: 35.89 kB / 404.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.05209, allocations: 4 kB / 404.3 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008088/0.06017, allocations: 7.137 MB / 411.4 MB, free: 1.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.0602, allocations: 11.92 kB / 411.4 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.06028, allocations: 39.91 kB / 411.4 MB, free: 1.602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008317/0.06859, allocations: 6.652 MB / 418.1 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.0686, allocations: 3.938 kB / 418.1 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0686, allocations: 0 / 418.1 MB, free: 10.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.06861, allocations: 0 / 418.1 MB, free: 10.94 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.002982/0.07159, allocations: 0.7504 MB / 418.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.07163, allocations: 12.03 kB / 418.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.07183, allocations: 55.7 kB / 418.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.58e-05/0.07192, allocations: 116 kB / 419 MB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.07193, allocations: 4 kB / 419 MB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.07196, allocations: 16 kB / 419.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.07223, allocations: 203.3 kB / 419.2 MB, free: 9.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.07224, allocations: 0 / 419.2 MB, free: 9.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.07226, allocations: 4 kB / 419.3 MB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.07226, allocations: 7.938 kB / 419.3 MB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.07239, allocations: 74.28 kB / 419.3 MB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.07288, allocations: 371.4 kB / 419.7 MB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.07309, allocations: 115 kB / 419.8 MB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.07314, allocations: 39.61 kB / 419.8 MB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.07426, allocations: 0.6512 MB / 420.5 MB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.07451, allocations: 202.1 kB / 420.7 MB, free: 8.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.07451, allocations: 0 / 420.7 MB, free: 8.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004184/0.07493, allocations: 201.4 kB / 420.9 MB, free: 7.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.07497, allocations: 63.39 kB / 421 MB, free: 7.883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.07504, allocations: 161.9 kB / 421.1 MB, free: 7.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.07506, allocations: 29.7 kB / 421.1 MB, free: 7.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.07511, allocations: 138.8 kB / 421.3 MB, free: 7.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.07515, allocations: 55.53 kB / 421.3 MB, free: 7.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.07519, allocations: 39.36 kB / 421.4 MB, free: 7.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.07536, allocations: 0.4884 MB / 421.9 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.0754, allocations: 27.92 kB / 421.9 MB, free: 6.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.07546, allocations: 55.34 kB / 421.9 MB, free: 6.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.301e-05/0.07556, allocations: 85.91 kB / 422 MB, free: 6.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.07556, allocations: 4 kB / 422 MB, free: 6.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001892/0.07575, allocations: 133.4 kB / 422.2 MB, free: 6.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.07576, allocations: 4 kB / 422.2 MB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.07577, allocations: 0 / 422.2 MB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.07578, allocations: 4 kB / 422.2 MB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.07587, allocations: 27.92 kB / 422.2 MB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.07588, allocations: 4 kB / 422.2 MB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.07593, allocations: 7.953 kB / 422.2 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.07595, allocations: 11.98 kB / 422.2 MB, free: 6.551 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 9.367e-05/0.07604, allocations: 168.5 kB / 422.4 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.07609, allocations: 19.83 kB / 422.4 MB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.07644, allocations: 253.4 kB / 422.6 MB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000178/0.07662, allocations: 201.7 kB / 422.8 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.07662, allocations: 0 / 422.8 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.07663, allocations: 4.031 kB / 422.8 MB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.07717, allocations: 0.5828 MB / 423.4 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.07718, allocations: 0 / 423.4 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.07725, allocations: 27.92 kB / 423.5 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.07726, allocations: 0 / 423.5 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.07727, allocations: 11.98 kB / 423.5 MB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.07727, allocations: 0 / 423.5 MB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.07728, allocations: 0 / 423.5 MB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.07763, allocations: 399.6 kB / 423.9 MB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.07765, allocations: 20.12 kB / 423.9 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.07767, allocations: 7.984 kB / 423.9 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.07775, allocations: 19.98 kB / 423.9 MB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.07781, allocations: 19.91 kB / 423.9 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.07783, allocations: 15.94 kB / 423.9 MB, free: 4.738 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.07787, allocations: 127.2 kB / 424.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07787, allocations: 0 / 424.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002046/0.07991, allocations: 462.6 kB / 424.5 MB, free: 4.16 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.01158/0.09149, allocations: 4.95 MB / 429.5 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.09174, allocations: 149.2 kB / 429.6 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.09175, allocations: 0 / 429.6 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.09184, allocations: 83.59 kB / 429.7 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.09218, allocations: 83.78 kB / 429.8 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.09304, allocations: 362.7 kB / 430.1 MB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.09309, allocations: 76.98 kB / 430.2 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.0932, allocations: 51.97 kB / 430.3 MB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.09324, allocations: 24.5 kB / 430.3 MB, free: 14.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.09324, allocations: 0 / 430.3 MB, free: 14.31 MB / 410.7 MB Notification: Performance of Templates: time 0.1497/0.2429, allocations: 21.34 MB / 451.6 MB, free: 98.85 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.165931816911325]