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.0009761/0.0009762, allocations: 177 kB / 17.06 MB, free: 5.098 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.316/1.316, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000831/0.000831, allocations: 101.5 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3297/0.3297, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003369, allocations: 8 kB / 459.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3953, allocations: 61.91 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.86/13.26, allocations: 5.758 GB / 6.267 GB, free: 177 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/13.26, allocations: 71.14 kB / 6.268 GB, free: 177 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.154/15.41, allocations: 0.5185 GB / 6.786 GB, free: 60.97 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.933e-06/15.41, allocations: 0 / 6.786 GB, free: 60.97 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.686e-05/15.41, allocations: 0 / 6.786 GB, free: 60.97 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.01154/15.42, allocations: 0.631 MB / 6.787 GB, free: 60.38 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/15.42, allocations: 8.031 kB / 6.787 GB, free: 60.37 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/15.42, allocations: 25.81 kB / 6.787 GB, free: 60.36 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.939e-05/15.42, allocations: 165 kB / 6.787 GB, free: 60.16 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/15.42, allocations: 0 / 6.787 GB, free: 60.16 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/15.42, allocations: 7.938 kB / 6.787 GB, free: 60.15 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/15.42, allocations: 79.02 kB / 6.787 GB, free: 60.1 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/15.42, allocations: 3.938 kB / 6.787 GB, free: 60.09 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/15.42, allocations: 0 / 6.787 GB, free: 60.09 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/15.42, allocations: 0 / 6.787 GB, free: 60.09 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/15.42, allocations: 77.02 kB / 6.787 GB, free: 60.05 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/15.42, allocations: 324.4 kB / 6.787 GB, free: 59.75 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.74e-05/15.42, allocations: 49.33 kB / 6.787 GB, free: 59.71 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003292/15.43, allocations: 2.509 MB / 6.79 GB, free: 57.24 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/15.43, allocations: 34.56 kB / 6.79 GB, free: 57.2 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/15.43, allocations: 0 / 6.79 GB, free: 57.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9): time 0.0002964/15.43, allocations: 191.4 kB / 6.79 GB, free: 57.03 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/15.43, allocations: 59.36 kB / 6.79 GB, free: 56.96 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/15.43, allocations: 88.44 kB / 6.79 GB, free: 56.87 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/15.43, allocations: 25.7 kB / 6.79 GB, free: 56.84 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/15.43, allocations: 94.7 kB / 6.79 GB, free: 56.74 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/15.43, allocations: 22.88 kB / 6.79 GB, free: 56.73 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/15.43, allocations: 4 kB / 6.79 GB, free: 56.72 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/15.43, allocations: 317.8 kB / 6.791 GB, free: 56.41 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/15.43, allocations: 14.81 kB / 6.791 GB, free: 56.4 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/15.43, allocations: 38.52 kB / 6.791 GB, free: 56.37 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/15.43, allocations: 23.78 kB / 6.791 GB, free: 56.36 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/15.43, allocations: 0 / 6.791 GB, free: 56.36 MB / 0.5262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001283/15.43, allocations: 97.77 kB / 6.791 GB, free: 56.29 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/15.43, allocations: 11.94 kB / 6.791 GB, free: 56.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/15.43, allocations: 0 / 6.791 GB, free: 56.28 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/15.43, allocations: 0 / 6.791 GB, free: 56.28 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/15.43, allocations: 11.66 kB / 6.791 GB, free: 56.27 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/15.43, allocations: 4.031 kB / 6.791 GB, free: 56.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/15.43, allocations: 17.02 kB / 6.791 GB, free: 56.26 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/15.43, allocations: 3.75 kB / 6.791 GB, free: 56.26 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 () * 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 7.722e-05/15.43, allocations: 110.4 kB / 6.791 GB, free: 56.14 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/15.43, allocations: 0 / 6.791 GB, free: 56.14 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/15.43, allocations: 161 kB / 6.791 GB, free: 56.04 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001066/15.43, allocations: 120.1 kB / 6.791 GB, free: 55.96 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/15.43, allocations: 3.609 kB / 6.791 GB, free: 55.96 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/15.43, allocations: 0 / 6.791 GB, free: 55.96 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/15.43, allocations: 430.8 kB / 6.792 GB, free: 55.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/15.43, allocations: 0 / 6.792 GB, free: 55.58 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/15.43, allocations: 15.61 kB / 6.792 GB, free: 55.57 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/15.43, allocations: 4 kB / 6.792 GB, free: 55.56 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/15.43, allocations: 10.89 kB / 6.792 GB, free: 55.55 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/15.43, allocations: 0 / 6.792 GB, free: 55.55 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/15.43, allocations: 0 / 6.792 GB, free: 55.55 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/15.43, allocations: 223.1 kB / 6.792 GB, free: 55.37 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/15.43, allocations: 86.98 kB / 6.792 GB, free: 55.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/15.43, allocations: 3.938 kB / 6.792 GB, free: 55.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/15.43, allocations: 3.953 kB / 6.792 GB, free: 55.26 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/15.43, allocations: 7.609 kB / 6.792 GB, free: 55.26 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/15.43, allocations: 8 kB / 6.792 GB, free: 55.25 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.017e-05/15.43, allocations: 79.22 kB / 6.792 GB, free: 55.18 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.364e-06/15.43, allocations: 0 / 6.792 GB, free: 55.18 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.006167/15.44, allocations: 385.5 kB / 6.792 GB, free: 54.86 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 () * 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.05132/15.49, allocations: 8.267 MB / 6.8 GB, free: 46.88 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003524/15.49, allocations: 120 kB / 6.801 GB, free: 46.8 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/15.49, allocations: 0 / 6.801 GB, free: 46.8 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/15.49, allocations: 51.98 kB / 6.801 GB, free: 46.77 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/15.49, allocations: 39.75 kB / 6.801 GB, free: 46.75 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/15.49, allocations: 235.8 kB / 6.801 GB, free: 46.54 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/15.49, allocations: 0.6993 MB / 6.802 GB, free: 45.82 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 6.346e-05/15.49, allocations: 12.31 kB / 6.802 GB, free: 45.81 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/15.49, allocations: 19.28 kB / 6.802 GB, free: 45.8 MB / 0.5262 GB Notification: Performance of SimCode: time 5.11e-07/15.49, allocations: 0 / 6.802 GB, free: 45.8 MB / 0.5262 GB Notification: Performance of Templates: time 0.02734/15.52, allocations: 18.74 MB / 6.82 GB, free: 32.84 MB / 0.5262 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