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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008951/0.0008952, allocations: 83.81 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.191/0.191, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.032e-05/4.035e-05, allocations: 4 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.89/12.03, allocations: 5.758 GB / 6.26 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/12.03, allocations: 69.06 kB / 6.26 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.992/14.02, allocations: 0.5183 GB / 6.778 GB, free: 17.55 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.633e-06/14.02, allocations: 4 kB / 6.778 GB, free: 17.54 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.003e-06/14.02, allocations: 0 / 6.778 GB, free: 17.54 MB / 0.5262 GB 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.01092/14.03, allocations: 0.6384 MB / 6.779 GB, free: 16.9 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/14.03, allocations: 8.031 kB / 6.779 GB, free: 16.89 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/14.03, allocations: 11.78 kB / 6.779 GB, free: 16.89 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.034e-05/14.03, allocations: 169 kB / 6.779 GB, free: 16.68 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/14.03, allocations: 0 / 6.779 GB, free: 16.68 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/14.03, allocations: 8 kB / 6.779 GB, free: 16.68 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/14.03, allocations: 73.67 kB / 6.779 GB, free: 16.6 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/14.03, allocations: 4 kB / 6.779 GB, free: 16.59 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/14.03, allocations: 0 / 6.779 GB, free: 16.59 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/14.03, allocations: 0 / 6.779 GB, free: 16.59 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/14.03, allocations: 81.47 kB / 6.779 GB, free: 16.52 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/14.03, allocations: 322.5 kB / 6.779 GB, free: 16.16 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/14.03, allocations: 42.58 kB / 6.779 GB, free: 16.11 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/14.03, allocations: 32.92 kB / 6.779 GB, free: 16.07 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00334/14.03, allocations: 2.586 MB / 6.782 GB, free: 13.14 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/14.03, allocations: 30.56 kB / 6.782 GB, free: 13.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/14.03, allocations: 0 / 6.782 GB, free: 13.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9): time 0.0002385/14.03, allocations: 85.64 kB / 6.782 GB, free: 13.01 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/14.03, allocations: 51.41 kB / 6.782 GB, free: 12.95 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.433e-05/14.03, allocations: 100.9 kB / 6.782 GB, free: 12.84 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/14.03, allocations: 25.7 kB / 6.782 GB, free: 12.81 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/14.03, allocations: 90.2 kB / 6.782 GB, free: 12.71 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/14.03, allocations: 27.56 kB / 6.782 GB, free: 12.69 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/14.03, allocations: 0 / 6.782 GB, free: 12.69 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.753e-05/14.03, allocations: 319 kB / 6.782 GB, free: 12.37 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/14.03, allocations: 20 kB / 6.783 GB, free: 12.35 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/14.03, allocations: 29.84 kB / 6.783 GB, free: 12.32 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/14.03, allocations: 36.02 kB / 6.783 GB, free: 12.28 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/14.03, allocations: 0 / 6.783 GB, free: 12.28 MB / 0.5262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001451/14.03, allocations: 89.62 kB / 6.783 GB, free: 12.19 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/14.03, allocations: 4 kB / 6.783 GB, free: 12.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/14.03, allocations: 7.984 kB / 6.783 GB, free: 12.18 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/14.03, allocations: 0 / 6.783 GB, free: 12.18 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/14.03, allocations: 8 kB / 6.783 GB, free: 12.17 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/14.04, allocations: 7.891 kB / 6.783 GB, free: 12.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/14.04, allocations: 13.91 kB / 6.783 GB, free: 12.15 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/14.04, allocations: 0 / 6.783 GB, free: 12.15 MB / 0.5262 GB 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 () * 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.087e-05/14.04, allocations: 109 kB / 6.783 GB, free: 12.04 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/14.04, allocations: 0 / 6.783 GB, free: 12.04 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/14.04, allocations: 149.6 kB / 6.783 GB, free: 11.88 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/14.04, allocations: 113.6 kB / 6.783 GB, free: 11.77 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/14.04, allocations: 0 / 6.783 GB, free: 11.77 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/14.04, allocations: 3.953 kB / 6.783 GB, free: 11.76 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/14.04, allocations: 439.3 kB / 6.783 GB, free: 11.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/14.04, allocations: 0 / 6.783 GB, free: 11.29 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/14.04, allocations: 15.98 kB / 6.783 GB, free: 11.27 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/14.04, allocations: 7.953 kB / 6.783 GB, free: 11.26 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/14.04, allocations: 0 / 6.783 GB, free: 11.26 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/14.04, allocations: 0 / 6.783 GB, free: 11.26 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/14.04, allocations: 3.938 kB / 6.783 GB, free: 11.26 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/14.04, allocations: 215.4 kB / 6.784 GB, free: 11.03 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/14.04, allocations: 90.8 kB / 6.784 GB, free: 10.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/14.04, allocations: 7.938 kB / 6.784 GB, free: 10.92 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/14.04, allocations: 4 kB / 6.784 GB, free: 10.92 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/14.04, allocations: 4 kB / 6.784 GB, free: 10.91 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/14.04, allocations: 4 kB / 6.784 GB, free: 10.91 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.874e-05/14.04, allocations: 79.28 kB / 6.784 GB, free: 10.83 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.3e-07/14.04, allocations: 0 / 6.784 GB, free: 10.83 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.005356/14.04, allocations: 397.1 kB / 6.784 GB, free: 10.47 MB / 0.5262 GB 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 () * 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.04756/14.09, allocations: 8.268 MB / 6.792 GB, free: 2.297 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000282/14.09, allocations: 113.6 kB / 6.792 GB, free: 2.18 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/14.09, allocations: 0 / 6.792 GB, free: 2.18 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/14.09, allocations: 55.94 kB / 6.792 GB, free: 2.125 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/14.09, allocations: 34.02 kB / 6.793 GB, free: 2.094 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/14.09, allocations: 119.1 kB / 6.793 GB, free: 1.957 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/14.09, allocations: 0.6964 MB / 6.793 GB, free: 1.234 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.459e-05/14.09, allocations: 12.94 kB / 6.793 GB, free: 1.223 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/14.09, allocations: 19.42 kB / 6.793 GB, free: 1.203 MB / 0.5262 GB Notification: Performance of SimCode: time 4.81e-07/14.09, allocations: 0 / 6.793 GB, free: 1.203 MB / 0.5262 GB Notification: Performance of Templates: time 0.03044/14.12, allocations: 19.28 MB / 6.812 GB, free: 13.92 MB / 0.5574 GB 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