Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.0009527/0.0009527, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001013/0.001013, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9813/0.9813, allocations: 177 MB / 205.2 MB, free: 5.457 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.2671/0.2671, allocations: 34.87 MB / 296.6 MB, free: 0.4961 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.385e-05, allocations: 5.641 kB / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.00889/0.008903, allocations: 8.558 MB / 334.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.01691, allocations: 11.03 MB / 345.5 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.01695, allocations: 0 / 345.5 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.01712, allocations: 31.81 kB / 345.6 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.02074, allocations: 1.777 MB / 347.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.018e-06/0.02075, allocations: 0 / 347.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.02083, allocations: 59.53 kB / 347.4 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.02087, allocations: 7.938 kB / 347.4 MB, free: 1.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.021, allocations: 39.84 kB / 347.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.02103, allocations: 19.91 kB / 347.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.02104, allocations: 0 / 347.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00705/0.02809, allocations: 6.709 MB / 354.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.02811, allocations: 0 / 354.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.02814, allocations: 15.94 kB / 354.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006343/0.03449, allocations: 5.341 MB / 359.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.03449, allocations: 0 / 359.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.03449, allocations: 0 / 359.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.0345, allocations: 0 / 359.5 MB, free: 5.445 MB / 330.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.001208/0.0357, allocations: 0.4901 MB / 360 MB, free: 4.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.03574, allocations: 8.031 kB / 360 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.03585, allocations: 23.92 kB / 360 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.151e-05/0.03594, allocations: 113.2 kB / 360.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.03595, allocations: 3.938 kB / 360.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.03595, allocations: 8 kB / 360.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.444e-05/0.03604, allocations: 52.5 kB / 360.2 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.03604, allocations: 0 / 360.2 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.03605, allocations: 4 kB / 360.2 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.03606, allocations: 3.938 kB / 360.2 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.0361, allocations: 31.97 kB / 360.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.03636, allocations: 201.8 kB / 360.5 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.0364, allocations: 26.58 kB / 360.5 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.03642, allocations: 20.84 kB / 360.5 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/0.03826, allocations: 1.206 MB / 361.7 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.03828, allocations: 30.56 kB / 361.7 MB, free: 3.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.03828, allocations: 0 / 361.7 MB, free: 3.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001452/0.03843, allocations: 77.5 kB / 361.8 MB, free: 3.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.03845, allocations: 55.41 kB / 361.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/0.03851, allocations: 106.7 kB / 362 MB, free: 2.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.03852, allocations: 25.7 kB / 362 MB, free: 2.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.03856, allocations: 88.09 kB / 362.1 MB, free: 2.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.03858, allocations: 23.75 kB / 362.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.03861, allocations: 29.69 kB / 362.1 MB, free: 2.684 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.03869, allocations: 310.8 kB / 362.4 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.0387, allocations: 8 kB / 362.4 MB, free: 2.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.03873, allocations: 33.69 kB / 362.5 MB, free: 2.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.03878, allocations: 44.64 kB / 362.5 MB, free: 2.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.03878, allocations: 0 / 362.5 MB, free: 2.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.108e-05/0.03886, allocations: 61.62 kB / 362.6 MB, free: 2.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.03887, allocations: 7.938 kB / 362.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.03888, allocations: 7.938 kB / 362.6 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.03889, allocations: 4.031 kB / 362.6 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.005e-05/0.03893, allocations: 15.98 kB / 362.6 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.03893, allocations: 0 / 362.6 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.03895, allocations: 3.938 kB / 362.6 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.03896, allocations: 4 kB / 362.6 MB, free: 2.168 MB / 330.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 5.389e-05/0.03902, allocations: 105.8 kB / 362.7 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.03904, allocations: 11.94 kB / 362.7 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.03918, allocations: 155.1 kB / 362.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.074e-05/0.03923, allocations: 67.38 kB / 363 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.03923, allocations: 0 / 363 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.03924, allocations: 8.234 kB / 363 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.03949, allocations: 322.4 kB / 363.3 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.03949, allocations: 4 kB / 363.3 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.656e-05/0.03954, allocations: 19.92 kB / 363.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.03954, allocations: 0 / 363.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.03954, allocations: 4 kB / 363.3 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.03955, allocations: 4 kB / 363.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.03955, allocations: 0 / 363.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.03967, allocations: 219.6 kB / 363.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.03967, allocations: 11.89 kB / 363.5 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.03968, allocations: 7.984 kB / 363.5 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.03971, allocations: 4 kB / 363.6 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.03973, allocations: 4 kB / 363.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.03974, allocations: 7.984 kB / 363.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.739e-06/0.03974, allocations: 9.031 kB / 363.6 MB, free: 1.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03974, allocations: 0 / 363.6 MB, free: 1.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009128/0.04066, allocations: 362.9 kB / 363.9 MB, free: 0.8047 MB / 330.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.008449/0.04911, allocations: 4.163 MB / 368.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.04923, allocations: 87.88 kB / 368.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.04923, allocations: 0 / 368.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.04926, allocations: 36.91 kB / 368.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.04948, allocations: 43.83 kB / 368.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.05005, allocations: 229.4 kB / 368.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.842e-05/0.05009, allocations: 63.34 kB / 368.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.54e-05/0.05012, allocations: 12.12 kB / 368.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.05021, allocations: 87.34 kB / 368.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.05021, allocations: 0 / 368.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of Templates: time 0.0187/0.06891, allocations: 20.41 MB / 389 MB, free: 7.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.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: 3.769362324848771]