Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001009/0.001009, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001243/0.001243, 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.9887/0.9887, allocations: 177 MB / 205.2 MB, free: 5.051 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.2316/0.2316, allocations: 34.86 MB / 296.6 MB, free: 456 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_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035e-05/1.156e-05, allocations: 2.312 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.008745/0.008757, allocations: 8.529 MB / 334.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007695/0.01645, allocations: 11.02 MB / 345.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.01648, allocations: 4 kB / 345.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.01662, allocations: 35.75 kB / 345.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.01934, allocations: 1.91 MB / 347.4 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.01935, allocations: 0 / 347.4 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.01941, allocations: 51.61 kB / 347.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.01944, allocations: 4 kB / 347.5 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/0.01954, allocations: 35.89 kB / 347.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.323e-05/0.01956, allocations: 15.92 kB / 347.5 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.01957, allocations: 4 kB / 347.5 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005514/0.02509, allocations: 6.595 MB / 354.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.0251, allocations: 4 kB / 354.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.02513, allocations: 23.91 kB / 354.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005727/0.03086, allocations: 5.329 MB / 359.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.03086, allocations: 3.984 kB / 359.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.03086, allocations: 0 / 359.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.03087, allocations: 0 / 359.5 MB, free: 5.516 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.001459/0.03232, allocations: 497.9 kB / 359.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.03236, allocations: 12.03 kB / 360 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.03246, allocations: 27.92 kB / 360 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.465e-05/0.03253, allocations: 109.2 kB / 360.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.03254, allocations: 0 / 360.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.03255, allocations: 4 kB / 360.1 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.719e-05/0.03263, allocations: 52.5 kB / 360.1 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.03263, allocations: 0 / 360.1 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.03264, allocations: 0 / 360.1 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.03264, allocations: 15.88 kB / 360.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.19e-05/0.03268, allocations: 24.64 kB / 360.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.03293, allocations: 205.8 kB / 360.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.687e-05/0.03297, allocations: 30.56 kB / 360.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.03298, allocations: 20.89 kB / 360.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/0.03495, allocations: 1.198 MB / 361.6 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.03497, allocations: 34.56 kB / 361.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.03497, allocations: 0 / 361.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001426/0.03512, allocations: 81.5 kB / 361.8 MB, free: 3.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.03514, allocations: 51.41 kB / 361.8 MB, free: 3.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.232e-05/0.0352, allocations: 106.7 kB / 361.9 MB, free: 2.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.0352, allocations: 29.7 kB / 361.9 MB, free: 2.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.03524, allocations: 84.09 kB / 362 MB, free: 2.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.03525, allocations: 31.73 kB / 362 MB, free: 2.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.03528, allocations: 21.7 kB / 362.1 MB, free: 2.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.03534, allocations: 318.8 kB / 362.4 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.03536, allocations: 19.92 kB / 362.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.03538, allocations: 21.72 kB / 362.4 MB, free: 2.391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.03542, allocations: 37.69 kB / 362.5 MB, free: 2.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.03542, allocations: 4 kB / 362.5 MB, free: 2.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.795e-05/0.0355, allocations: 65.62 kB / 362.5 MB, free: 2.273 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.03551, allocations: 7.938 kB / 362.5 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.03552, allocations: 0 / 362.5 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.03553, allocations: 4 kB / 362.5 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.03557, allocations: 15.92 kB / 362.6 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.03557, allocations: 4 kB / 362.6 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.03559, allocations: 3.938 kB / 362.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.0356, allocations: 0 / 362.6 MB, free: 2.238 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.807e-05/0.03566, allocations: 109.8 kB / 362.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.03568, allocations: 11.94 kB / 362.7 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.0358, allocations: 148.1 kB / 362.8 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-05/0.03585, allocations: 69.62 kB / 362.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.03585, allocations: 0 / 362.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.03585, allocations: 3.984 kB / 362.9 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.03608, allocations: 323.1 kB / 363.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.03608, allocations: 0 / 363.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.03611, allocations: 15.98 kB / 363.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.03612, allocations: 4 kB / 363.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.03612, allocations: 4 kB / 363.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.03612, allocations: 0 / 363.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.03612, allocations: 4 kB / 363.2 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.03623, allocations: 230.8 kB / 363.5 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.03624, allocations: 11.94 kB / 363.5 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.03624, allocations: 0 / 363.5 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.797e-05/0.03627, allocations: 256 / 363.5 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.03629, allocations: 11.98 kB / 363.5 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.03629, allocations: 4 kB / 363.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.275e-06/0.0363, allocations: 12.8 kB / 363.5 MB, free: 1.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0363, allocations: 0 / 363.5 MB, free: 1.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001027/0.03733, allocations: 358.9 kB / 363.9 MB, free: 0.8789 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.008454/0.04578, allocations: 4.169 MB / 368 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.0459, allocations: 84.58 kB / 368.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.04591, allocations: 4 kB / 368.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.04594, allocations: 32.78 kB / 368.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.04614, allocations: 43.81 kB / 368.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.04669, allocations: 222.2 kB / 368.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.04672, allocations: 67.28 kB / 368.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.04676, allocations: 16.78 kB / 368.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.04684, allocations: 83.34 kB / 368.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04684, allocations: 0 / 368.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of Templates: time 0.01777/0.06461, allocations: 20.42 MB / 389 MB, free: 7.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.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.7261718180961907]