Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 101.9 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.481/0.481, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003954, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5211, allocations: 62.95 MB / 0.5184 GB, free: 37.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.61/14.14, allocations: 5.759 GB / 6.277 GB, free: 66.84 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/14.14, allocations: 72.98 kB / 6.277 GB, free: 66.77 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.974/16.11, allocations: 495.6 MB / 6.761 GB, free: 10.52 MB / 0.5574 GB Notification: Performance of FrontEnd: time 3.667e-06/16.11, allocations: 0 / 6.761 GB, free: 10.52 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 7.894e-06/16.11, allocations: 0 / 6.761 GB, free: 10.52 MB / 0.5574 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.01238/16.12, allocations: 0.6451 MB / 6.762 GB, free: 9.871 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 7.556e-05/16.12, allocations: 8.031 kB / 6.762 GB, free: 9.863 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/16.12, allocations: 12.83 kB / 6.762 GB, free: 9.852 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/16.12, allocations: 166.4 kB / 6.762 GB, free: 9.652 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/16.12, allocations: 7.5 kB / 6.762 GB, free: 9.648 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/16.12, allocations: 8.375 kB / 6.762 GB, free: 9.641 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/16.12, allocations: 78.36 kB / 6.762 GB, free: 9.559 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/16.12, allocations: 8.125 kB / 6.762 GB, free: 9.551 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/16.12, allocations: 3.938 kB / 6.762 GB, free: 9.547 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/16.12, allocations: 0 / 6.762 GB, free: 9.547 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/16.12, allocations: 75.95 kB / 6.762 GB, free: 9.473 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/16.12, allocations: 306.7 kB / 6.763 GB, free: 9.125 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/16.12, allocations: 46.56 kB / 6.763 GB, free: 9.07 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/16.12, allocations: 40.95 kB / 6.763 GB, free: 9.027 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004276/16.13, allocations: 2.644 MB / 6.765 GB, free: 6.02 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/16.13, allocations: 30.56 kB / 6.765 GB, free: 5.98 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/16.13, allocations: 0 / 6.765 GB, free: 5.98 MB / 0.5574 GB Notification: Performance of matching and sorting (n=9): time 0.0003465/16.13, allocations: 109.6 kB / 6.765 GB, free: 5.867 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/16.13, allocations: 55.39 kB / 6.766 GB, free: 5.801 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/16.13, allocations: 93.86 kB / 6.766 GB, free: 5.699 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/16.13, allocations: 25.7 kB / 6.766 GB, free: 5.668 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/16.13, allocations: 90.14 kB / 6.766 GB, free: 5.578 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/16.13, allocations: 31.55 kB / 6.766 GB, free: 5.551 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/16.13, allocations: 4 kB / 6.766 GB, free: 5.547 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001215/16.13, allocations: 318.8 kB / 6.766 GB, free: 5.227 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/16.13, allocations: 19.98 kB / 6.766 GB, free: 5.207 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/16.13, allocations: 33.72 kB / 6.766 GB, free: 5.168 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/16.13, allocations: 65.64 kB / 6.766 GB, free: 5.098 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/16.13, allocations: 4 kB / 6.766 GB, free: 5.094 MB / 0.5574 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/16.13, allocations: 89.62 kB / 6.766 GB, free: 5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/16.13, allocations: 4 kB / 6.766 GB, free: 4.996 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/16.13, allocations: 0 / 6.766 GB, free: 4.996 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/16.13, allocations: 0 / 6.766 GB, free: 4.996 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/16.13, allocations: 8 kB / 6.766 GB, free: 4.988 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/16.13, allocations: 3.984 kB / 6.766 GB, free: 4.984 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/16.13, allocations: 14.25 kB / 6.766 GB, free: 4.973 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/16.13, allocations: 4 kB / 6.766 GB, free: 4.969 MB / 0.5574 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 9.415e-05/16.13, allocations: 113.8 kB / 6.766 GB, free: 4.848 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/16.13, allocations: 4 kB / 6.766 GB, free: 4.844 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/16.13, allocations: 152.9 kB / 6.767 GB, free: 4.695 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001364/16.13, allocations: 113.7 kB / 6.767 GB, free: 4.578 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/16.13, allocations: 0 / 6.767 GB, free: 4.578 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/16.13, allocations: 0 / 6.767 GB, free: 4.578 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006039/16.13, allocations: 441.2 kB / 6.767 GB, free: 4.098 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/16.13, allocations: 256 / 6.767 GB, free: 4.098 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/16.13, allocations: 16.17 kB / 6.767 GB, free: 4.082 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/16.13, allocations: 8 kB / 6.767 GB, free: 4.074 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/16.13, allocations: 7.875 kB / 6.767 GB, free: 4.066 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/16.13, allocations: 0 / 6.767 GB, free: 4.066 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/16.13, allocations: 0 / 6.767 GB, free: 4.066 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/16.13, allocations: 227.4 kB / 6.767 GB, free: 3.828 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/16.13, allocations: 87.06 kB / 6.767 GB, free: 3.727 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/16.13, allocations: 3.938 kB / 6.767 GB, free: 3.723 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/16.13, allocations: 5.969 kB / 6.767 GB, free: 3.719 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/16.13, allocations: 4 kB / 6.767 GB, free: 3.715 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/16.13, allocations: 4 kB / 6.767 GB, free: 3.711 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 3.384e-05/16.13, allocations: 79.27 kB / 6.768 GB, free: 3.633 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.1e-07/16.13, allocations: 0 / 6.768 GB, free: 3.633 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.007541/16.14, allocations: 405.3 kB / 6.768 GB, free: 3.266 MB / 0.5574 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.7234/16.86, allocations: 8.27 MB / 6.776 GB, free: 85.87 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.000325/16.86, allocations: 110.6 kB / 6.776 GB, free: 85.84 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/16.86, allocations: 0 / 6.776 GB, free: 85.84 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/16.86, allocations: 50.58 kB / 6.776 GB, free: 85.84 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/16.86, allocations: 39.06 kB / 6.776 GB, free: 85.84 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/16.86, allocations: 247.1 kB / 6.776 GB, free: 85.69 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/16.86, allocations: 0.6904 MB / 6.777 GB, free: 84.99 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 6.135e-05/16.86, allocations: 16.47 kB / 6.777 GB, free: 84.99 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/16.86, allocations: 20.48 kB / 6.777 GB, free: 84.99 MB / 0.5575 GB Notification: Performance of SimCode: time 1.503e-06/16.86, allocations: 0 / 6.777 GB, free: 84.99 MB / 0.5575 GB Notification: Performance of Templates: time 0.0301/16.89, allocations: 19.28 MB / 6.796 GB, free: 83.2 MB / 0.5575 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches