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.001029/0.001029, allocations: 88.86 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.0009204/0.0009204, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9879/0.9879, allocations: 177 MB / 205.2 MB, free: 5.008 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.2644/0.2644, allocations: 34.86 MB / 296.6 MB, free: 460 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,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.372e-06/1.372e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.592e-05, allocations: 2.312 kB / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008256/0.008272, allocations: 8.525 MB / 334.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00747/0.01574, allocations: 11.01 MB / 345.4 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.01577, allocations: 4 kB / 345.4 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.01592, allocations: 35.81 kB / 345.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.01848, allocations: 1.91 MB / 347.4 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.356e-06/0.01848, allocations: 0 / 347.4 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.542e-05/0.01856, allocations: 51.61 kB / 347.4 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.0186, allocations: 7.984 kB / 347.4 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.0187, allocations: 31.91 kB / 347.5 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.571e-05/0.01873, allocations: 15.94 kB / 347.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.01874, allocations: 4 kB / 347.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005583/0.02432, allocations: 6.599 MB / 354.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.02434, allocations: 4 kB / 354.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.02437, allocations: 15.92 kB / 354.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005661/0.03003, allocations: 5.333 MB / 359.4 MB, free: 5.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.03003, allocations: 0 / 359.4 MB, free: 5.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.03003, allocations: 3.938 kB / 359.4 MB, free: 5.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.03003, allocations: 0 / 359.4 MB, free: 5.551 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.001337/0.03137, allocations: 497.9 kB / 359.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.0314, allocations: 12.03 kB / 359.9 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.03151, allocations: 27.91 kB / 360 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.248e-05/0.03158, allocations: 109.2 kB / 360.1 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.03159, allocations: 0 / 360.1 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.0316, allocations: 8 kB / 360.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/0.03168, allocations: 48.52 kB / 360.1 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.03169, allocations: 0 / 360.1 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.0317, allocations: 4 kB / 360.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.0317, allocations: 7.938 kB / 360.1 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.03174, allocations: 27.92 kB / 360.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.032, allocations: 209.8 kB / 360.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.552e-05/0.03203, allocations: 22.58 kB / 360.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.03205, allocations: 16.86 kB / 360.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/0.03379, allocations: 1.206 MB / 361.6 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.03381, allocations: 30.56 kB / 361.6 MB, free: 3.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.03381, allocations: 0 / 361.6 MB, free: 3.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001367/0.03395, allocations: 85.48 kB / 361.7 MB, free: 3.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.03397, allocations: 55.41 kB / 361.8 MB, free: 3.086 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.036e-05/0.03402, allocations: 102.7 kB / 361.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.03403, allocations: 25.7 kB / 361.9 MB, free: 2.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.03406, allocations: 84.09 kB / 362 MB, free: 2.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.03408, allocations: 39.66 kB / 362 MB, free: 2.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.0341, allocations: 21.72 kB / 362 MB, free: 2.789 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.03417, allocations: 318.8 kB / 362.4 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.03418, allocations: 8 kB / 362.4 MB, free: 2.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.0342, allocations: 29.64 kB / 362.4 MB, free: 2.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.03424, allocations: 41.69 kB / 362.4 MB, free: 2.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.03424, allocations: 4 kB / 362.4 MB, free: 2.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.427e-05/0.03431, allocations: 67.41 kB / 362.5 MB, free: 2.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.03432, allocations: 7.938 kB / 362.5 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.03433, allocations: 4 kB / 362.5 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.03434, allocations: 0 / 362.5 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.604e-05/0.03438, allocations: 8 kB / 362.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.03438, allocations: 3.938 kB / 362.5 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.0344, allocations: 7.922 kB / 362.5 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.03441, allocations: 4 kB / 362.5 MB, free: 2.27 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.055e-05/0.03447, allocations: 113.9 kB / 362.7 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.03449, allocations: 7.938 kB / 362.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.03461, allocations: 144.7 kB / 362.8 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.546e-05/0.03465, allocations: 70.11 kB / 362.9 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.03465, allocations: 0 / 362.9 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.03466, allocations: 0 / 362.9 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.03488, allocations: 327 kB / 363.2 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.03488, allocations: 4 kB / 363.2 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.03491, allocations: 12 kB / 363.2 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.03492, allocations: 8 kB / 363.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.03492, allocations: 3.984 kB / 363.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.03492, allocations: 0 / 363.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.03492, allocations: 256 / 363.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.03503, allocations: 231.1 kB / 363.4 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.03503, allocations: 7.953 kB / 363.5 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.03504, allocations: 4 kB / 363.5 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.867e-05/0.03507, allocations: 4 kB / 363.5 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.03508, allocations: 11.92 kB / 363.5 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.03509, allocations: 0 / 363.5 MB, free: 1.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.486e-06/0.0351, allocations: 8.859 kB / 363.5 MB, free: 1.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0351, allocations: 4 kB / 363.5 MB, free: 1.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009093/0.03601, allocations: 370.9 kB / 363.8 MB, free: 0.9023 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.008279/0.04429, allocations: 4.159 MB / 368 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.04443, allocations: 79.95 kB / 368.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.04443, allocations: 4 kB / 368.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.04447, allocations: 32.78 kB / 368.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.04474, allocations: 56.06 kB / 368.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.04539, allocations: 225.4 kB / 368.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.04543, allocations: 59.36 kB / 368.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.207e-05/0.04547, allocations: 16.11 kB / 368.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/0.04556, allocations: 79.33 kB / 368.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.04556, allocations: 0 / 368.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of Templates: time 0.02247/0.06803, allocations: 20.42 MB / 389 MB, free: 7.719 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 -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.7745751729235053]