Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 166.7 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2611/0.2611, allocations: 32.81 MB / 294.6 MB, free: 1.258 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.965e-05, allocations: 2.859 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01531/0.01534, allocations: 8.516 MB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00861/0.02395, allocations: 11.02 MB / 342.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.02399, allocations: 0 / 342.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.02416, allocations: 35.75 kB / 342.8 MB, free: 6.047 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.02717, allocations: 1.781 MB / 344.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.02717, allocations: 4 kB / 344.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.203e-05/0.02725, allocations: 51.61 kB / 344.7 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.02728, allocations: 7.922 kB / 344.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.0274, allocations: 31.91 kB / 344.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.805e-05/0.02743, allocations: 11.94 kB / 344.7 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-06/0.02744, allocations: 0 / 344.7 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006493/0.03393, allocations: 6.716 MB / 351.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.03394, allocations: 3.938 kB / 351.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.03397, allocations: 15.94 kB / 351.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005892/0.03986, allocations: 5.333 MB / 356.8 MB, free: 8.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.03986, allocations: 0 / 356.8 MB, free: 8.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.03986, allocations: 0 / 356.8 MB, free: 8.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.03987, allocations: 3.938 kB / 356.8 MB, free: 8.059 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.00133/0.0412, allocations: 490 kB / 357.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.04123, allocations: 8.031 kB / 357.3 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.04135, allocations: 27.92 kB / 357.3 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.173e-05/0.04141, allocations: 109.2 kB / 357.4 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.04142, allocations: 0 / 357.4 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.04143, allocations: 4 kB / 357.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.621e-05/0.04151, allocations: 56.5 kB / 357.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.04152, allocations: 3.938 kB / 357.5 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.04153, allocations: 4 kB / 357.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.04154, allocations: 7.938 kB / 357.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.04158, allocations: 33.02 kB / 357.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.04182, allocations: 193.9 kB / 357.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.916e-05/0.04186, allocations: 30.56 kB / 357.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.04188, allocations: 16.95 kB / 357.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001813/0.04369, allocations: 1.21 MB / 359 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.04372, allocations: 30.56 kB / 359 MB, free: 5.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.04372, allocations: 0 / 359 MB, free: 5.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001419/0.04386, allocations: 73.56 kB / 359.1 MB, free: 5.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.04388, allocations: 55.41 kB / 359.1 MB, free: 5.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.04394, allocations: 94.72 kB / 359.2 MB, free: 5.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.04395, allocations: 33.69 kB / 359.2 MB, free: 5.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.04398, allocations: 84.09 kB / 359.3 MB, free: 5.379 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.044, allocations: 27.73 kB / 359.3 MB, free: 5.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.04402, allocations: 21.83 kB / 359.4 MB, free: 5.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.0441, allocations: 322.8 kB / 359.7 MB, free: 5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.04411, allocations: 8 kB / 359.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.04413, allocations: 29.64 kB / 359.7 MB, free: 4.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.04417, allocations: 37.7 kB / 359.8 MB, free: 4.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.04417, allocations: 0 / 359.8 MB, free: 4.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.631e-05/0.04426, allocations: 65.94 kB / 359.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.04428, allocations: 11.94 kB / 359.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.04428, allocations: 0 / 359.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.04429, allocations: 0 / 359.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.563e-05/0.04433, allocations: 20.02 kB / 359.8 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.04433, allocations: 3.938 kB / 359.9 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.04435, allocations: 7.953 kB / 359.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.04436, allocations: 0 / 359.9 MB, free: 4.801 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.244e-05/0.04441, allocations: 113.8 kB / 360 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.04444, allocations: 11.94 kB / 360 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.04456, allocations: 137.4 kB / 360.1 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/0.04461, allocations: 73.61 kB / 360.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.04461, allocations: 0 / 360.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.04461, allocations: 4 kB / 360.2 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.04485, allocations: 338.9 kB / 360.5 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.04485, allocations: 0 / 360.5 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.04488, allocations: 15.98 kB / 360.5 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.04488, allocations: 0 / 360.5 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.04489, allocations: 4 kB / 360.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.04489, allocations: 0 / 360.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.04489, allocations: 4 kB / 360.5 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.045, allocations: 228.1 kB / 360.8 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.04501, allocations: 7.938 kB / 360.8 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.04502, allocations: 4.25 kB / 360.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.04505, allocations: 8 kB / 360.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.04506, allocations: 3.984 kB / 360.8 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.04507, allocations: 8 kB / 360.8 MB, free: 3.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.392e-06/0.04507, allocations: 4.859 kB / 360.8 MB, free: 3.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04507, allocations: 0 / 360.8 MB, free: 3.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009653/0.04604, allocations: 358.9 kB / 361.2 MB, free: 3.441 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.008356/0.0544, allocations: 4.166 MB / 365.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.05452, allocations: 83.94 kB / 365.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.05452, allocations: 0 / 365.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/0.05455, allocations: 40.84 kB / 365.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.05475, allocations: 39.88 kB / 365.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.05526, allocations: 209.6 kB / 365.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.429e-05/0.05529, allocations: 63.34 kB / 365.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.05533, allocations: 12.12 kB / 365.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.05541, allocations: 79.34 kB / 365.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.05541, allocations: 4 kB / 365.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of Templates: time 0.01847/0.07388, allocations: 20.39 MB / 386.2 MB, free: 10.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7283804239705205]