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.001559/0.001559, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001144/0.001144, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.986/0.986, allocations: 177 MB / 205.9 MB, free: 4.449 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.186/0.186, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.172e-06/1.172e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.562e-05, allocations: 5.984 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.009273/0.009289, allocations: 8.464 MB / 388.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008079/0.01737, allocations: 10.89 MB / 399.3 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.01741, allocations: 0 / 399.3 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.0176, allocations: 35.81 kB / 399.4 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.02143, allocations: 1.887 MB / 401.3 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.129e-06/0.02143, allocations: 4 kB / 401.3 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.06e-05/0.02152, allocations: 55.55 kB / 401.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.02155, allocations: 0 / 401.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.02167, allocations: 39.83 kB / 401.4 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.531e-05/0.02169, allocations: 19.94 kB / 401.4 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.0217, allocations: 0 / 401.4 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007842/0.02954, allocations: 6.599 MB / 408 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.02956, allocations: 0 / 408 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.02959, allocations: 11.94 kB / 408 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008557/0.03815, allocations: 5.341 MB / 413.3 MB, free: 5.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.03815, allocations: 0 / 413.3 MB, free: 5.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.03815, allocations: 4 kB / 413.3 MB, free: 5.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.03815, allocations: 0 / 413.3 MB, free: 5.316 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.002202/0.04036, allocations: 0.6073 MB / 413.9 MB, free: 4.672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.04039, allocations: 8.031 kB / 414 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.04052, allocations: 27.88 kB / 414 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.853e-05/0.04061, allocations: 120 kB / 414.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.04062, allocations: 4 kB / 414.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.04063, allocations: 4 kB / 414.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.04072, allocations: 49.67 kB / 414.2 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.04073, allocations: 0 / 414.2 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.04074, allocations: 0 / 414.2 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.04075, allocations: 7.938 kB / 414.2 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.209e-05/0.04079, allocations: 23.98 kB / 414.2 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.04112, allocations: 292.2 kB / 414.5 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.04117, allocations: 39.05 kB / 414.5 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.0412, allocations: 19.69 kB / 414.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.04292, allocations: 0.8189 MB / 415.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.04295, allocations: 41.33 kB / 415.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.04295, allocations: 0 / 415.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002045/0.04316, allocations: 93.52 kB / 415.5 MB, free: 3.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.04319, allocations: 55.41 kB / 415.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/0.04327, allocations: 157.9 kB / 415.7 MB, free: 2.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.04328, allocations: 25.7 kB / 415.7 MB, free: 2.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.04333, allocations: 134.8 kB / 415.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.04335, allocations: 31.73 kB / 415.9 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.04339, allocations: 31.36 kB / 415.9 MB, free: 2.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.04352, allocations: 496.1 kB / 416.4 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.04355, allocations: 11.98 kB / 416.4 MB, free: 2.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.04358, allocations: 35.34 kB / 416.4 MB, free: 2.016 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.04365, allocations: 55.69 kB / 416.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.04365, allocations: 0 / 416.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001253/0.04377, allocations: 81.5 kB / 416.6 MB, free: 1.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.04379, allocations: 11.98 kB / 416.6 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.04379, allocations: 0 / 416.6 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.0438, allocations: 0 / 416.6 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.04385, allocations: 12 kB / 416.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.04386, allocations: 0 / 416.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.04388, allocations: 11.89 kB / 416.6 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.04389, allocations: 0 / 416.6 MB, free: 1.832 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 7.767e-05/0.04397, allocations: 160.6 kB / 416.8 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.04401, allocations: 15.88 kB / 416.8 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.04417, allocations: 117.5 kB / 416.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.809e-05/0.04426, allocations: 89.12 kB / 417 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.04426, allocations: 7.922 kB / 417 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.04427, allocations: 0 / 417 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.0446, allocations: 373.7 kB / 417.4 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.0446, allocations: 0 / 417.4 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.04464, allocations: 15.98 kB / 417.4 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.04465, allocations: 8 kB / 417.4 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.04465, allocations: 0 / 417.4 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.04466, allocations: 256 / 417.4 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.04466, allocations: 4 kB / 417.4 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.04482, allocations: 259.7 kB / 417.6 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.04484, allocations: 7.953 kB / 417.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.04484, allocations: 0 / 417.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-05/0.04489, allocations: 0 / 417.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.04491, allocations: 11.98 kB / 417.7 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.04492, allocations: 4 kB / 417.7 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.436e-05/0.04495, allocations: 119.2 kB / 417.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04495, allocations: 4 kB / 417.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001481/0.04643, allocations: 370.9 kB / 418.1 MB, free: 232 kB / 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.01119/0.05762, allocations: 4.155 MB / 422.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.05777, allocations: 90.7 kB / 422.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.05777, allocations: 0 / 422.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.05781, allocations: 39.61 kB / 422.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.05816, allocations: 60.47 kB / 422.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.0588, allocations: 212.5 kB / 422.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.05885, allocations: 67.22 kB / 422.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.05889, allocations: 15.48 kB / 422.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.05899, allocations: 102.2 kB / 422.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.05899, allocations: 0 / 422.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of Templates: time 0.02285/0.08184, allocations: 20.49 MB / 443.4 MB, free: 6.965 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: 4.371065951883793]