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.001169/0.001169, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 95.89 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.293e-05/1.289e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.81/12.92, allocations: 5.758 GB / 6.263 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/12.92, allocations: 67.97 kB / 6.263 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.748/15.66, allocations: 0.5089 GB / 6.772 GB, free: 102.6 MB / 0.5575 GB Notification: Performance of FrontEnd: time 1.363e-06/15.66, allocations: 4 kB / 6.772 GB, free: 102.6 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 6.181e-06/15.66, allocations: 2.188 kB / 6.772 GB, free: 102.6 MB / 0.5575 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.01199/15.68, allocations: 0.6425 MB / 6.772 GB, free: 102.2 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/15.68, allocations: 9.562 kB / 6.772 GB, free: 102.2 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/15.68, allocations: 14.89 kB / 6.772 GB, free: 102.2 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.326e-05/15.68, allocations: 164.7 kB / 6.772 GB, free: 102 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/15.68, allocations: 3.25 kB / 6.772 GB, free: 102 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/15.68, allocations: 0 / 6.772 GB, free: 102 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000145/15.68, allocations: 72.34 kB / 6.772 GB, free: 102 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/15.68, allocations: 78.16 kB / 6.773 GB, free: 101.9 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/15.68, allocations: 0 / 6.773 GB, free: 101.9 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/15.68, allocations: 6.922 kB / 6.773 GB, free: 101.9 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/15.68, allocations: 2.062 kB / 6.773 GB, free: 101.9 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/15.68, allocations: 291.1 kB / 6.773 GB, free: 101.7 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/15.68, allocations: 40.17 kB / 6.773 GB, free: 101.7 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/15.68, allocations: 33.48 kB / 6.773 GB, free: 101.7 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003388/15.68, allocations: 2.706 MB / 6.776 GB, free: 99.74 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/15.68, allocations: 34.56 kB / 6.776 GB, free: 99.7 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/15.68, allocations: 0 / 6.776 GB, free: 99.7 MB / 0.5575 GB Notification: Performance of matching and sorting (n=9): time 0.0002609/15.68, allocations: 91.41 kB / 6.776 GB, free: 99.66 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/15.68, allocations: 55.34 kB / 6.776 GB, free: 99.6 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/15.68, allocations: 85 kB / 6.776 GB, free: 99.51 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/15.68, allocations: 25.7 kB / 6.776 GB, free: 99.48 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/15.68, allocations: 89.39 kB / 6.776 GB, free: 99.39 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/15.68, allocations: 29.25 kB / 6.776 GB, free: 99.37 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/15.68, allocations: 4 kB / 6.776 GB, free: 99.37 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.752e-05/15.68, allocations: 316.2 kB / 6.776 GB, free: 99.05 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/15.68, allocations: 21.75 kB / 6.776 GB, free: 99.05 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/15.68, allocations: 32.19 kB / 6.776 GB, free: 99.04 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/15.68, allocations: 25.34 kB / 6.776 GB, free: 99.04 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/15.68, allocations: 0 / 6.776 GB, free: 99.04 MB / 0.5575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001652/15.68, allocations: 85.83 kB / 6.776 GB, free: 99.01 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/15.68, allocations: 11.38 kB / 6.776 GB, free: 99 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/15.68, allocations: 3.953 kB / 6.776 GB, free: 99 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/15.68, allocations: 3.703 kB / 6.776 GB, free: 99 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/15.68, allocations: 13.47 kB / 6.776 GB, free: 99 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/15.68, allocations: 3.969 kB / 6.776 GB, free: 99 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/15.68, allocations: 5.875 kB / 6.776 GB, free: 99 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/15.68, allocations: 6.719 kB / 6.776 GB, free: 99 MB / 0.5575 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.64e-05/15.68, allocations: 105.2 kB / 6.777 GB, free: 98.89 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/15.68, allocations: 3.969 kB / 6.777 GB, free: 98.89 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/15.68, allocations: 150.9 kB / 6.777 GB, free: 98.85 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001445/15.68, allocations: 110.8 kB / 6.777 GB, free: 98.81 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/15.68, allocations: 0.5625 kB / 6.777 GB, free: 98.81 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/15.68, allocations: 0 / 6.777 GB, free: 98.81 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/15.68, allocations: 409 kB / 6.777 GB, free: 98.53 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/15.68, allocations: 5.922 kB / 6.777 GB, free: 98.53 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/15.68, allocations: 15.3 kB / 6.777 GB, free: 98.53 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/15.68, allocations: 6.25 kB / 6.777 GB, free: 98.53 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/15.68, allocations: 3.938 kB / 6.777 GB, free: 98.52 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/15.68, allocations: 2.062 kB / 6.777 GB, free: 98.52 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/15.68, allocations: 0 / 6.777 GB, free: 98.52 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/15.68, allocations: 208.3 kB / 6.777 GB, free: 98.39 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/15.68, allocations: 87.12 kB / 6.778 GB, free: 98.29 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/15.68, allocations: 6.438 kB / 6.778 GB, free: 98.29 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/15.68, allocations: 1.969 kB / 6.778 GB, free: 98.29 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/15.68, allocations: 10.27 kB / 6.778 GB, free: 98.29 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/15.68, allocations: 3.188 kB / 6.778 GB, free: 98.29 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 1.569e-05/15.68, allocations: 75.28 kB / 6.778 GB, free: 98.21 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.61e-07/15.68, allocations: 7 kB / 6.778 GB, free: 98.21 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.007787/15.69, allocations: 391.8 kB / 6.778 GB, free: 98.14 MB / 0.5575 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.05447/15.75, allocations: 8.305 MB / 6.786 GB, free: 93.99 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0002341/15.75, allocations: 111.9 kB / 6.786 GB, free: 93.95 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/15.75, allocations: 0 / 6.786 GB, free: 93.95 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/15.75, allocations: 52.38 kB / 6.786 GB, free: 93.95 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/15.75, allocations: 40.81 kB / 6.786 GB, free: 93.95 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/15.75, allocations: 97.78 kB / 6.786 GB, free: 93.89 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/15.75, allocations: 0.6948 MB / 6.787 GB, free: 93.2 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 5.079e-05/15.75, allocations: 15.16 kB / 6.787 GB, free: 93.19 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/15.75, allocations: 20.08 kB / 6.787 GB, free: 93.18 MB / 0.5575 GB Notification: Performance of SimCode: time 2.3e-07/15.75, allocations: 0 / 6.787 GB, free: 93.18 MB / 0.5575 GB Notification: Performance of Templates: time 0.02465/15.77, allocations: 17.6 MB / 6.804 GB, free: 90.77 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/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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches