Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 98.83 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2618/0.2618, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004473, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.563/1.729, allocations: 461.3 MB / 0.9292 GB, free: 162 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.729, allocations: 69.8 kB / 0.9293 GB, free: 162 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.06108/1.79, allocations: 29.92 MB / 0.9585 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/1.79, allocations: 3.938 kB / 0.9585 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.79, allocations: 0 / 0.9585 GB, free: 151.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004599/1.791, allocations: 390.4 kB / 0.9589 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.791, allocations: 8.031 kB / 0.9589 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/1.793, allocations: 181.8 kB / 0.9591 GB, free: 151 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/1.793, allocations: 201 kB / 0.9593 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/1.793, allocations: 11.94 kB / 0.9593 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/1.793, allocations: 11.52 kB / 0.9593 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/1.793, allocations: 221.3 kB / 0.9595 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.793, allocations: 0 / 0.9595 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/1.794, allocations: 3.438 kB / 0.9595 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/1.794, allocations: 4 kB / 0.9595 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/1.794, allocations: 175.6 kB / 0.9597 GB, free: 150.5 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/1.795, allocations: 0.5669 MB / 0.9602 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/1.795, allocations: 138.7 kB / 0.9604 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/1.796, allocations: 4 kB / 0.9604 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.796, allocations: 42.72 kB / 0.9604 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/1.796, allocations: 0 / 0.9604 GB, free: 149.8 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005264/1.801, allocations: 1.309 MB / 0.9617 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.801, allocations: 54.84 kB / 0.9617 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/1.801, allocations: 104.9 kB / 0.9618 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/1.801, allocations: 29.7 kB / 0.9619 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/1.801, allocations: 95.47 kB / 0.962 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/1.801, allocations: 74 kB / 0.962 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/1.801, allocations: 3.625 kB / 0.962 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/1.801, allocations: 318.5 kB / 0.9623 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/1.801, allocations: 66.09 kB / 0.9624 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/1.802, allocations: 104.9 kB / 0.9625 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.802, allocations: 84.55 kB / 0.9626 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/1.802, allocations: 0 / 0.9626 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004173/1.802, allocations: 255.3 kB / 0.9628 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.802, allocations: 10.61 kB / 0.9628 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.802, allocations: 7.984 kB / 0.9628 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/1.802, allocations: 51.7 kB / 0.9629 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/1.803, allocations: 59.94 kB / 0.9629 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003049/1.803, allocations: 0.5576 MB / 0.9635 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/1.803, allocations: 7.969 kB / 0.9635 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/1.803, allocations: 27.98 kB / 0.9635 GB, free: 146.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.803, allocations: 133.7 kB / 0.9636 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/1.803, allocations: 11.81 kB / 0.9637 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/1.804, allocations: 350 kB / 0.964 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.804, allocations: 4 kB / 0.964 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.804, allocations: 0 / 0.964 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.804, allocations: 3.984 kB / 0.964 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/1.805, allocations: 0.633 MB / 0.9646 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.805, allocations: 0 / 0.9646 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/1.805, allocations: 59.95 kB / 0.9647 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.337e-05/1.805, allocations: 20.78 kB / 0.9647 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/1.805, allocations: 15.23 kB / 0.9647 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006467/1.806, allocations: 1.282 MB / 0.966 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.806, allocations: 0 / 0.966 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/1.807, allocations: 462.6 kB / 0.9664 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/1.807, allocations: 92.89 kB / 0.9665 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/1.807, allocations: 7.312 kB / 0.9665 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/1.807, allocations: 3.812 kB / 0.9665 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/1.807, allocations: 35.92 kB / 0.9665 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/1.807, allocations: 27.61 kB / 0.9666 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.843e-05/1.807, allocations: 90.58 kB / 0.9667 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.807, allocations: 0 / 0.9667 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005978/1.808, allocations: 116.7 kB / 0.9668 GB, free: 143.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008599/1.809, allocations: 0.5286 MB / 0.9673 GB, free: 143 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005013/1.809, allocations: 202.3 kB / 0.9675 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.809, allocations: 4.188 kB / 0.9675 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000315/1.809, allocations: 220.2 kB / 0.9677 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/1.81, allocations: 43.2 kB / 0.9677 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/1.811, allocations: 0.56 MB / 0.9683 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/1.811, allocations: 0.7127 MB / 0.969 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004045/1.811, allocations: 85.59 kB / 0.9691 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/1.812, allocations: 47.41 kB / 0.9691 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/1.812, allocations: 0 / 0.9691 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.01467/1.826, allocations: 11.02 MB / 0.9799 GB, free: 130.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches