Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 198.9 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008592/0.0008592, allocations: 100.5 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.379/0.379, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002846, allocations: 12 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3263, allocations: 62.95 MB / 0.5165 GB, free: 37.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.39/11.72, allocations: 5.759 GB / 6.275 GB, free: 63.74 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/11.72, allocations: 71.97 kB / 6.276 GB, free: 63.67 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.829/13.55, allocations: 495.6 MB / 6.759 GB, free: 8.211 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.104e-06/13.55, allocations: 4 kB / 6.759 GB, free: 8.207 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.07e-06/13.55, allocations: 192 / 6.759 GB, free: 8.207 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.008543/13.56, allocations: 0.6431 MB / 6.76 GB, free: 7.559 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/13.56, allocations: 12.03 kB / 6.76 GB, free: 7.547 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/13.56, allocations: 16.83 kB / 6.76 GB, free: 7.531 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.646e-05/13.56, allocations: 162.4 kB / 6.76 GB, free: 7.336 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/13.56, allocations: 4.375 kB / 6.76 GB, free: 7.332 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/13.56, allocations: 384 / 6.76 GB, free: 7.332 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/13.56, allocations: 88.5 kB / 6.76 GB, free: 7.242 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/13.56, allocations: 4.188 kB / 6.76 GB, free: 7.238 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/13.56, allocations: 3.938 kB / 6.76 GB, free: 7.234 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/13.56, allocations: 4 kB / 6.76 GB, free: 7.23 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.778e-05/13.56, allocations: 75.89 kB / 6.76 GB, free: 7.156 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/13.56, allocations: 310.7 kB / 6.761 GB, free: 6.805 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/13.56, allocations: 46.56 kB / 6.761 GB, free: 6.75 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/13.56, allocations: 32.92 kB / 6.761 GB, free: 6.715 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003809/13.56, allocations: 2.639 MB / 6.763 GB, free: 3.707 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/13.56, allocations: 38.59 kB / 6.763 GB, free: 3.66 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/13.56, allocations: 4 kB / 6.763 GB, free: 3.656 MB / 0.5574 GB Notification: Performance of matching and sorting (n=9): time 0.0002721/13.56, allocations: 105.6 kB / 6.764 GB, free: 3.547 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/13.56, allocations: 55.39 kB / 6.764 GB, free: 3.48 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/13.56, allocations: 97.8 kB / 6.764 GB, free: 3.375 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/13.56, allocations: 25.7 kB / 6.764 GB, free: 3.344 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/13.56, allocations: 84.05 kB / 6.764 GB, free: 3.258 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/13.56, allocations: 34.2 kB / 6.764 GB, free: 3.23 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/13.56, allocations: 0 / 6.764 GB, free: 3.23 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001113/13.56, allocations: 326.9 kB / 6.764 GB, free: 2.902 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/13.56, allocations: 19.98 kB / 6.764 GB, free: 2.883 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/13.56, allocations: 33.72 kB / 6.764 GB, free: 2.844 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.214e-05/13.56, allocations: 61.64 kB / 6.764 GB, free: 2.777 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/13.56, allocations: 0 / 6.764 GB, free: 2.777 MB / 0.5574 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000144/13.56, allocations: 93.62 kB / 6.764 GB, free: 2.68 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/13.56, allocations: 4.031 kB / 6.764 GB, free: 2.676 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/13.56, allocations: 8 kB / 6.764 GB, free: 2.668 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/13.56, allocations: 0 / 6.764 GB, free: 2.668 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/13.56, allocations: 8 kB / 6.764 GB, free: 2.66 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/13.56, allocations: 4.359 kB / 6.764 GB, free: 2.656 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/13.56, allocations: 6.062 kB / 6.764 GB, free: 2.652 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/13.56, allocations: 8 kB / 6.764 GB, free: 2.645 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 8.597e-05/13.56, allocations: 117.8 kB / 6.764 GB, free: 2.52 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/13.56, allocations: 3.938 kB / 6.764 GB, free: 2.516 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/13.56, allocations: 151.5 kB / 6.765 GB, free: 2.367 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001369/13.56, allocations: 117.4 kB / 6.765 GB, free: 2.25 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/13.56, allocations: 3.938 kB / 6.765 GB, free: 2.246 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/13.56, allocations: 7.984 kB / 6.765 GB, free: 2.238 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/13.56, allocations: 424.8 kB / 6.765 GB, free: 1.773 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/13.56, allocations: 4.188 kB / 6.765 GB, free: 1.77 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/13.56, allocations: 19.92 kB / 6.765 GB, free: 1.75 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/13.56, allocations: 3.938 kB / 6.765 GB, free: 1.746 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/13.56, allocations: 11.94 kB / 6.765 GB, free: 1.734 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/13.56, allocations: 0 / 6.765 GB, free: 1.734 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/13.56, allocations: 0 / 6.765 GB, free: 1.734 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/13.56, allocations: 219.4 kB / 6.765 GB, free: 1.504 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/13.56, allocations: 83.06 kB / 6.765 GB, free: 1.406 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/13.56, allocations: 15.94 kB / 6.765 GB, free: 1.391 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/13.56, allocations: 0 / 6.765 GB, free: 1.391 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/13.56, allocations: 4 kB / 6.765 GB, free: 1.387 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/13.56, allocations: 4 kB / 6.766 GB, free: 1.383 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 4.103e-05/13.56, allocations: 83.27 kB / 6.766 GB, free: 1.301 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.21e-07/13.57, allocations: 0 / 6.766 GB, free: 1.301 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.004601/13.57, allocations: 401.3 kB / 6.766 GB, free: 0.9375 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.5165/14.09, allocations: 8.274 MB / 6.774 GB, free: 83.69 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.000251/14.09, allocations: 109.3 kB / 6.774 GB, free: 83.66 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/14.09, allocations: 0 / 6.774 GB, free: 83.66 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/14.09, allocations: 56.52 kB / 6.774 GB, free: 83.66 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/14.09, allocations: 37.56 kB / 6.774 GB, free: 83.66 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/14.09, allocations: 270.6 kB / 6.774 GB, free: 83.47 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/14.09, allocations: 0.6921 MB / 6.775 GB, free: 82.78 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/14.09, allocations: 13.94 kB / 6.775 GB, free: 82.77 MB / 0.5575 GB Notification: Performance of SimCode: time 2.3e-07/14.09, allocations: 0 / 6.775 GB, free: 82.77 MB / 0.5575 GB Notification: Performance of Templates: time 0.0316/14.12, allocations: 21.05 MB / 6.796 GB, free: 80.46 MB / 0.5575 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches