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.000808/0.000808, allocations: 99.03 kB / 17 MB, free: 6.398 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.0008693/0.0008693, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.52/1.52, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.26 MB / 337.3 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004307, allocations: 10.81 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01127/0.1389, allocations: 7.753 MB / 479.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.1517, allocations: 10.17 MB / 489.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.1518, allocations: 0 / 489.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.152, allocations: 27.88 kB / 489.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004979/0.157, allocations: 1.368 MB / 490.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.021e-06/0.157, allocations: 0 / 490.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.1571, allocations: 39.73 kB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1571, allocations: 7.938 kB / 491 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1573, allocations: 23.91 kB / 491 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.1573, allocations: 15.94 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.253e-06/0.1573, allocations: 0 / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02623/0.1836, allocations: 19.57 MB / 0.4986 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.1836, allocations: 3.938 kB / 0.4986 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.1837, allocations: 29.7 kB / 0.4986 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009935/0.1936, allocations: 4.289 MB / 0.5028 GB, free: 2.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1937, allocations: 4 kB / 0.5028 GB, free: 2.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1937, allocations: 0 / 0.5028 GB, free: 2.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1937, allocations: 0 / 0.5028 GB, free: 2.34 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.002498/0.1962, allocations: 0.5459 MB / 0.5034 GB, free: 1.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1962, allocations: 12.03 kB / 0.5034 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.1964, allocations: 15.84 kB / 0.5034 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.1965, allocations: 159.1 kB / 0.5035 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1965, allocations: 8 kB / 0.5035 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1965, allocations: 0 / 0.5035 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1967, allocations: 81.66 kB / 0.5036 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1967, allocations: 0 / 0.5036 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1967, allocations: 4 kB / 0.5036 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1967, allocations: 11.94 kB / 0.5036 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.1968, allocations: 71.91 kB / 0.5037 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1973, allocations: 316.7 kB / 0.504 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.1973, allocations: 38.58 kB / 0.504 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.1974, allocations: 41.02 kB / 0.5041 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2412/0.4386, allocations: 1.679 MB / 0.5057 GB, free: 33.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.4386, allocations: 40.06 kB / 0.5058 GB, free: 33.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.4387, allocations: 0 / 0.5058 GB, free: 33.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003346/0.439, allocations: 106.5 kB / 0.5059 GB, free: 33.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.439, allocations: 53.78 kB / 0.5059 GB, free: 33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.4391, allocations: 93.83 kB / 0.506 GB, free: 32.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.4391, allocations: 26.95 kB / 0.506 GB, free: 32.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.4391, allocations: 86.38 kB / 0.5061 GB, free: 32.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.4392, allocations: 28.8 kB / 0.5061 GB, free: 32.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.4392, allocations: 4.125 kB / 0.5061 GB, free: 32.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.4392, allocations: 319.3 kB / 0.5064 GB, free: 32.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.4393, allocations: 20.03 kB / 0.5065 GB, free: 32.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.4393, allocations: 39.17 kB / 0.5065 GB, free: 32.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.4394, allocations: 28.67 kB / 0.5065 GB, free: 32.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4394, allocations: 2.344 kB / 0.5065 GB, free: 32.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001424/0.4395, allocations: 91.11 kB / 0.5066 GB, free: 32.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4396, allocations: 7.656 kB / 0.5066 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.4396, allocations: 0 / 0.5066 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4396, allocations: 1.281 kB / 0.5066 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.4397, allocations: 11.23 kB / 0.5066 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4397, allocations: 1.281 kB / 0.5066 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.4397, allocations: 6.359 kB / 0.5066 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4397, allocations: 2.75 kB / 0.5067 GB, free: 32.41 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.781e-05/0.4398, allocations: 124.4 kB / 0.5068 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.4398, allocations: 3.562 kB / 0.5068 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.4401, allocations: 150.5 kB / 0.5069 GB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001878/0.4403, allocations: 116.7 kB / 0.507 GB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4403, allocations: 2.766 kB / 0.507 GB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4404, allocations: 0.5625 kB / 0.507 GB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.4408, allocations: 433.5 kB / 0.5074 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4409, allocations: 3.375 kB / 0.5074 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.4409, allocations: 15.78 kB / 0.5075 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4409, allocations: 1.094 kB / 0.5075 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.441, allocations: 5.25 kB / 0.5075 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.441, allocations: 6.703 kB / 0.5075 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.441, allocations: 0 / 0.5075 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.4412, allocations: 216 kB / 0.5077 GB, free: 31.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.4412, allocations: 89.94 kB / 0.5078 GB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.4413, allocations: 1.938 kB / 0.5078 GB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.493e-05/0.4413, allocations: 0.9688 kB / 0.5078 GB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.4413, allocations: 21.34 kB / 0.5078 GB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4414, allocations: 4.062 kB / 0.5078 GB, free: 31.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.871e-05/0.4414, allocations: 79.03 kB / 0.5079 GB, free: 31.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4414, allocations: 0 / 0.5079 GB, free: 31.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002123/0.4435, allocations: 340 kB / 0.5082 GB, free: 31.59 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.01678/0.4603, allocations: 3.705 MB / 0.5118 GB, free: 29.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.4606, allocations: 114.1 kB / 0.5119 GB, free: 29.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4606, allocations: 2.844 kB / 0.5119 GB, free: 29.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.4607, allocations: 52.22 kB / 0.512 GB, free: 29.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.4611, allocations: 40.08 kB / 0.512 GB, free: 29.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.4616, allocations: 248.7 kB / 0.5122 GB, free: 29.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4617, allocations: 0.6942 MB / 0.5129 GB, free: 28.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.4618, allocations: 10.25 kB / 0.5129 GB, free: 28.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.4618, allocations: 14.75 kB / 0.513 GB, free: 28.93 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4618, allocations: 7.031 kB / 0.513 GB, free: 28.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02694/0.4888, allocations: 17.76 MB / 0.5303 GB, free: 24.98 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches