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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001098, allocations: 95.98 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 180.2 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 61.93 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.009741/0.1385, allocations: 7.419 MB / 478.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.1486, allocations: 9.291 MB / 488.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.1487, allocations: 0 / 488.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.1489, allocations: 39.84 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004961/0.1539, allocations: 1.402 MB / 489.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.651e-06/0.1539, allocations: 0 / 489.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.154, allocations: 43.86 kB / 489.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.34e-05/0.1541, allocations: 7.984 kB / 489.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1542, allocations: 35.84 kB / 489.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.1543, allocations: 15.92 kB / 489.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.1543, allocations: 0 / 489.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03093/0.1852, allocations: 25.07 MB / 0.5027 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.1853, allocations: 3.938 kB / 0.5027 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.1854, allocations: 29.7 kB / 0.5027 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2655/0.4509, allocations: 4.244 MB / 0.5069 GB, free: 29.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.451, allocations: 0 / 0.5069 GB, free: 29.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.187e-06/0.451, allocations: 1 kB / 0.5069 GB, free: 29.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.451, allocations: 0 / 0.5069 GB, free: 29.93 MB / 382.1 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.005389/0.4564, allocations: 0.5487 MB / 0.5074 GB, free: 29.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4564, allocations: 9.812 kB / 0.5074 GB, free: 29.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.4566, allocations: 14.95 kB / 0.5074 GB, free: 29.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.65e-05/0.4567, allocations: 173.6 kB / 0.5076 GB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4567, allocations: 3.469 kB / 0.5076 GB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.4567, allocations: 3.438 kB / 0.5076 GB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4569, allocations: 73.14 kB / 0.5077 GB, free: 29.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4569, allocations: 0.9688 kB / 0.5077 GB, free: 29.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.4569, allocations: 4.578 kB / 0.5077 GB, free: 29.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.457, allocations: 1.375 kB / 0.5077 GB, free: 29.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.4571, allocations: 76.42 kB / 0.5078 GB, free: 29.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.4577, allocations: 320.9 kB / 0.5081 GB, free: 28.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.188e-05/0.4578, allocations: 45.03 kB / 0.5081 GB, free: 28.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002985/0.4608, allocations: 1.689 MB / 0.5098 GB, free: 27.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.4608, allocations: 32.23 kB / 0.5098 GB, free: 27.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.236e-06/0.4609, allocations: 0 / 0.5098 GB, free: 27.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003341/0.4612, allocations: 190.5 kB / 0.51 GB, free: 27.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4612, allocations: 60.05 kB / 0.51 GB, free: 27.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.4613, allocations: 93.75 kB / 0.5101 GB, free: 27.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.4613, allocations: 27.14 kB / 0.5101 GB, free: 27.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.4614, allocations: 85.23 kB / 0.5102 GB, free: 27.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.4614, allocations: 26.58 kB / 0.5103 GB, free: 27.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.4614, allocations: 4.312 kB / 0.5103 GB, free: 27.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.4615, allocations: 313.2 kB / 0.5106 GB, free: 26.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.4615, allocations: 23.64 kB / 0.5106 GB, free: 26.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.4616, allocations: 35.98 kB / 0.5106 GB, free: 26.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.4616, allocations: 26.28 kB / 0.5106 GB, free: 26.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4616, allocations: 5.906 kB / 0.5106 GB, free: 26.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001526/0.4618, allocations: 94.12 kB / 0.5107 GB, free: 26.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4618, allocations: 6.25 kB / 0.5107 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4618, allocations: 0 / 0.5107 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4618, allocations: 2.031 kB / 0.5107 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.4619, allocations: 12.66 kB / 0.5108 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4619, allocations: 0.9688 kB / 0.5108 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.462, allocations: 10.17 kB / 0.5108 GB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.462, allocations: 3.125 kB / 0.5108 GB, free: 26.86 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.462, allocations: 113.9 kB / 0.5109 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.4621, allocations: 6.875 kB / 0.5109 GB, free: 26.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.4623, allocations: 149.7 kB / 0.511 GB, free: 26.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001246/0.4624, allocations: 118.4 kB / 0.5111 GB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4625, allocations: 0 / 0.5111 GB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4625, allocations: 1.656 kB / 0.5111 GB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.4629, allocations: 435.1 kB / 0.5116 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4629, allocations: 1.562 kB / 0.5116 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.463, allocations: 14.77 kB / 0.5116 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.463, allocations: 2.094 kB / 0.5116 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.463, allocations: 5.578 kB / 0.5116 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.463, allocations: 7.844 kB / 0.5116 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.463, allocations: 2.875 kB / 0.5116 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.4632, allocations: 221.4 kB / 0.5118 GB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.4632, allocations: 84.78 kB / 0.5119 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.4633, allocations: 2.953 kB / 0.5119 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.4633, allocations: 4.953 kB / 0.5119 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.4634, allocations: 7.875 kB / 0.5119 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.4634, allocations: 5.812 kB / 0.5119 GB, free: 26.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.741e-05/0.4634, allocations: 80.89 kB / 0.512 GB, free: 26.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4634, allocations: 0 / 0.512 GB, free: 26.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003547/0.467, allocations: 343.1 kB / 0.5123 GB, free: 25.99 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02277/0.4897, allocations: 3.715 MB / 0.5159 GB, free: 24.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.4901, allocations: 111 kB / 0.516 GB, free: 24.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4901, allocations: 3.5 kB / 0.516 GB, free: 24.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4902, allocations: 50.78 kB / 0.5161 GB, free: 24.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.4906, allocations: 35.97 kB / 0.5161 GB, free: 24.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.4911, allocations: 239.4 kB / 0.5164 GB, free: 23.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4912, allocations: 0.6966 MB / 0.517 GB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.299e-05/0.4913, allocations: 14.28 kB / 0.517 GB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.4914, allocations: 16.3 kB / 0.5171 GB, free: 23.28 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4914, allocations: 4.344 kB / 0.5171 GB, free: 23.28 MB / 382.1 MB Notification: Performance of Templates: time 0.02944/0.5208, allocations: 17.72 MB / 0.5344 GB, free: 18.07 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches