Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.858/1.858, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009901/0.0009902, allocations: 88.16 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002678, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3185, allocations: 47.58 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.607, allocations: 451.4 MB / 0.8079 GB, free: 118.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.607, allocations: 76.27 kB / 0.8079 GB, free: 118.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06017/1.667, allocations: 29.9 MB / 0.8371 GB, free: 115.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.945e-06/1.667, allocations: 0 / 0.8371 GB, free: 115.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/1.667, allocations: 3.906 kB / 0.8371 GB, free: 115.7 MB / 426.7 MB 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.0005601/1.668, allocations: 401.3 kB / 0.8375 GB, free: 115.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.668, allocations: 7.812 kB / 0.8375 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/1.67, allocations: 188.4 kB / 0.8377 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/1.67, allocations: 205.2 kB / 0.8379 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/1.67, allocations: 7.844 kB / 0.8379 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/1.67, allocations: 3.906 kB / 0.8379 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/1.67, allocations: 229.5 kB / 0.8381 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.67, allocations: 0 / 0.8381 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/1.67, allocations: 3.375 kB / 0.8381 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.67, allocations: 3.875 kB / 0.8381 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/1.671, allocations: 171.8 kB / 0.8383 GB, free: 115.1 MB / 426.7 MB 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.001133/1.672, allocations: 0.566 MB / 0.8389 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/1.672, allocations: 141.5 kB / 0.839 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/1.673, allocations: 2.219 kB / 0.839 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/1.673, allocations: 36.28 kB / 0.839 GB, free: 114.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/1.673, allocations: 0 / 0.839 GB, free: 114.5 MB / 426.7 MB 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.005782/1.678, allocations: 1.311 MB / 0.8403 GB, free: 114 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.678, allocations: 61.61 kB / 0.8404 GB, free: 113.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.308e-05/1.678, allocations: 105 kB / 0.8405 GB, free: 113.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/1.679, allocations: 26.7 kB / 0.8405 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/1.679, allocations: 97.72 kB / 0.8406 GB, free: 113.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/1.679, allocations: 69.86 kB / 0.8407 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/1.679, allocations: 4.531 kB / 0.8407 GB, free: 113.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/1.679, allocations: 324.4 kB / 0.841 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/1.679, allocations: 66.45 kB / 0.841 GB, free: 113.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/1.679, allocations: 103.7 kB / 0.8411 GB, free: 113.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/1.679, allocations: 90.41 kB / 0.8412 GB, free: 113.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/1.679, allocations: 0 / 0.8412 GB, free: 113.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004819/1.68, allocations: 259.7 kB / 0.8415 GB, free: 113.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.68, allocations: 3.188 kB / 0.8415 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.68, allocations: 3.188 kB / 0.8415 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/1.68, allocations: 45.69 kB / 0.8415 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/1.68, allocations: 60.52 kB / 0.8416 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003592/1.681, allocations: 0.5679 MB / 0.8421 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/1.681, allocations: 7.688 kB / 0.8421 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/1.681, allocations: 30.27 kB / 0.8422 GB, free: 112.7 MB / 426.7 MB 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.0001242/1.681, allocations: 121.2 kB / 0.8423 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/1.681, allocations: 11.66 kB / 0.8423 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007548/1.682, allocations: 342.5 kB / 0.8426 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.682, allocations: 3.875 kB / 0.8426 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.682, allocations: 0 / 0.8426 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.682, allocations: 11.88 kB / 0.8426 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/1.683, allocations: 0.6088 MB / 0.8432 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.683, allocations: 3.625 kB / 0.8432 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/1.683, allocations: 61.77 kB / 0.8433 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.858e-05/1.683, allocations: 29.78 kB / 0.8433 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/1.683, allocations: 13.45 kB / 0.8433 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008948/1.684, allocations: 1.268 MB / 0.8446 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.684, allocations: 0 / 0.8446 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/1.685, allocations: 481 kB / 0.845 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/1.685, allocations: 84.98 kB / 0.8451 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/1.685, allocations: 3.438 kB / 0.8451 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/1.685, allocations: 7.875 kB / 0.8451 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/1.685, allocations: 23.75 kB / 0.8451 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/1.685, allocations: 32.45 kB / 0.8452 GB, free: 110.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.892e-05/1.685, allocations: 91.77 kB / 0.8453 GB, free: 110.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.685, allocations: 64 / 0.8453 GB, free: 110.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006563/1.686, allocations: 113.4 kB / 0.8454 GB, free: 110.5 MB / 426.7 MB 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.0009422/1.687, allocations: 0.5531 MB / 0.8459 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000496/1.688, allocations: 196.1 kB / 0.8461 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.688, allocations: 0 / 0.8461 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/1.688, allocations: 226.5 kB / 0.8463 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/1.688, allocations: 47.77 kB / 0.8464 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/1.689, allocations: 0.5581 MB / 0.8469 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/1.689, allocations: 0.7146 MB / 0.8476 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004292/1.69, allocations: 76.39 kB / 0.8477 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/1.69, allocations: 61.27 kB / 0.8477 GB, free: 109 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/1.69, allocations: 0 / 0.8477 GB, free: 109 MB / 426.7 MB Notification: Performance of Templates: time 0.01568/1.706, allocations: 11.02 MB / 0.8585 GB, free: 104.4 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches