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.001319/0.001319, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001093/0.001093, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.02/1.02, allocations: 177 MB / 205.1 MB, free: 5.469 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.2538/0.2538, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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 2.033e-06/2.033e-06, allocations: 0 / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.13e-05, allocations: 7.234 kB / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01093/0.01096, allocations: 8.817 MB / 388 MB, free: 9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.02111, allocations: 13.66 MB / 401.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.02115, allocations: 4 kB / 401.7 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.02131, allocations: 39.73 kB / 401.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.02526, allocations: 2.49 MB / 404.2 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.018e-05/0.02531, allocations: 23.89 kB / 404.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.02541, allocations: 131.1 kB / 404.4 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.02545, allocations: 7.984 kB / 404.4 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.02559, allocations: 79.8 kB / 404.5 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.02565, allocations: 39.89 kB / 404.5 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.02566, allocations: 4 kB / 404.5 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006841/0.0325, allocations: 7.141 MB / 411.6 MB, free: 1.316 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.03253, allocations: 19.91 kB / 411.7 MB, free: 1.297 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.03257, allocations: 35.92 kB / 411.7 MB, free: 1.262 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008835/0.0414, allocations: 6.648 MB / 418.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.04141, allocations: 0 / 418.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.04141, allocations: 0 / 418.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.04141, allocations: 4 kB / 418.3 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.002088/0.0435, allocations: 0.7582 MB / 419.1 MB, free: 9.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.04354, allocations: 8.031 kB / 419.1 MB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.04368, allocations: 59.69 kB / 419.2 MB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.023e-05/0.04375, allocations: 115.9 kB / 419.3 MB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.04376, allocations: 8 kB / 419.3 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.04378, allocations: 4 kB / 419.3 MB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.04399, allocations: 187.4 kB / 419.5 MB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.044, allocations: 3.984 kB / 419.5 MB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.04401, allocations: 8 kB / 419.5 MB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.04402, allocations: 7.938 kB / 419.5 MB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.04411, allocations: 59.89 kB / 419.6 MB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.04449, allocations: 352 kB / 419.9 MB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.04465, allocations: 107 kB / 420 MB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.04467, allocations: 27.67 kB / 420 MB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.04578, allocations: 0.6394 MB / 420.7 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.04597, allocations: 194 kB / 420.9 MB, free: 7.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.04597, allocations: 0 / 420.9 MB, free: 7.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003086/0.04628, allocations: 183.7 kB / 421 MB, free: 7.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.04631, allocations: 63.34 kB / 421.1 MB, free: 7.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.04639, allocations: 169.9 kB / 421.3 MB, free: 7.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.04641, allocations: 33.7 kB / 421.3 MB, free: 7.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.04647, allocations: 138.8 kB / 421.4 MB, free: 7.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.04651, allocations: 51.58 kB / 421.5 MB, free: 7.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.04657, allocations: 43.34 kB / 421.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.04673, allocations: 0.4923 MB / 422 MB, free: 6.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.04677, allocations: 23.92 kB / 422 MB, free: 6.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.04683, allocations: 50.55 kB / 422.1 MB, free: 6.605 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.04692, allocations: 67.34 kB / 422.2 MB, free: 6.531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.04692, allocations: 0 / 422.2 MB, free: 6.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002002/0.04712, allocations: 139.4 kB / 422.3 MB, free: 6.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.04713, allocations: 4 kB / 422.3 MB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.04714, allocations: 4 kB / 422.3 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.04715, allocations: 0 / 422.3 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.04722, allocations: 19.98 kB / 422.3 MB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.04722, allocations: 4 kB / 422.3 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.04726, allocations: 15.94 kB / 422.3 MB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.04727, allocations: 4 kB / 422.3 MB, free: 6.34 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 8.794e-05/0.04736, allocations: 168.5 kB / 422.5 MB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.0474, allocations: 27.77 kB / 422.5 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.04765, allocations: 225.5 kB / 422.8 MB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001316/0.04778, allocations: 181.7 kB / 422.9 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.04778, allocations: 0 / 422.9 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.04779, allocations: 0 / 422.9 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.04832, allocations: 0.5404 MB / 423.5 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.04832, allocations: 0 / 423.5 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.04838, allocations: 27.98 kB / 423.5 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.04839, allocations: 7.938 kB / 423.5 MB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.0484, allocations: 7.984 kB / 423.5 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.0484, allocations: 0 / 423.5 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.0484, allocations: 0 / 423.5 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.04868, allocations: 371.5 kB / 423.9 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.04869, allocations: 15.84 kB / 423.9 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.0487, allocations: 11.98 kB / 423.9 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.04877, allocations: 16.03 kB / 423.9 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.04882, allocations: 19.95 kB / 423.9 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.04883, allocations: 8.25 kB / 424 MB, free: 4.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.04887, allocations: 135.2 kB / 424.1 MB, free: 4.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04887, allocations: 0 / 424.1 MB, free: 4.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001329/0.05019, allocations: 458.6 kB / 424.5 MB, free: 4.074 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.01112/0.06131, allocations: 4.984 MB / 429.5 MB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.06151, allocations: 145.2 kB / 429.7 MB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.06151, allocations: 3.938 kB / 429.7 MB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.93e-05/0.0616, allocations: 75.58 kB / 429.7 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.06201, allocations: 79.97 kB / 429.8 MB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.06292, allocations: 362.6 kB / 430.2 MB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.132e-05/0.06297, allocations: 77 kB / 430.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.06308, allocations: 48.86 kB / 430.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.06325, allocations: 138.1 kB / 430.4 MB, free: 14.09 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.06325, allocations: 0 / 430.4 MB, free: 14.09 MB / 410.7 MB Notification: Performance of Templates: time 0.1737/0.237, allocations: 23.78 MB / 454.2 MB, free: 74.71 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.524853754788637]