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.00145/0.00145, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 82.72 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.835e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/1.485, allocations: 450.9 MB / 0.7949 GB, free: 76.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.486, allocations: 75.95 kB / 0.795 GB, free: 76.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06041/1.546, allocations: 29.27 MB / 0.8236 GB, free: 47.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.026e-06/1.546, allocations: 0 / 0.8236 GB, free: 47.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/1.546, allocations: 0 / 0.8236 GB, free: 47.35 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.0006211/1.547, allocations: 387.2 kB / 0.824 GB, free: 46.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.157e-05/1.547, allocations: 8.031 kB / 0.824 GB, free: 46.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/1.549, allocations: 195.6 kB / 0.8242 GB, free: 46.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/1.549, allocations: 206.9 kB / 0.8243 GB, free: 46.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/1.549, allocations: 4.219 kB / 0.8244 GB, free: 46.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/1.549, allocations: 4 kB / 0.8244 GB, free: 46.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003625/1.55, allocations: 147.9 kB / 0.8245 GB, free: 46.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/1.55, allocations: 132.2 kB / 0.8246 GB, free: 46.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/1.55, allocations: 0 / 0.8246 GB, free: 46.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/1.55, allocations: 3.984 kB / 0.8246 GB, free: 46.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.55, allocations: 11.94 kB / 0.8246 GB, free: 46.18 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00116/1.551, allocations: 0.5332 MB / 0.8252 GB, free: 45.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/1.551, allocations: 118.6 kB / 0.8253 GB, free: 45.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/1.552, allocations: 64.84 kB / 0.8253 GB, free: 45.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/1.552, allocations: 0 / 0.8253 GB, free: 45.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/1.552, allocations: 42.5 kB / 0.8254 GB, free: 45.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/1.552, allocations: 0 / 0.8254 GB, free: 45.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.003892/1.556, allocations: 0.8881 MB / 0.8262 GB, free: 44.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/1.556, allocations: 51.41 kB / 0.8263 GB, free: 44.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/1.556, allocations: 105 kB / 0.8264 GB, free: 44.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.556, allocations: 25.7 kB / 0.8264 GB, free: 44.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/1.556, allocations: 103.9 kB / 0.8265 GB, free: 44.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/1.556, allocations: 59.11 kB / 0.8266 GB, free: 44.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/1.556, allocations: 0 / 0.8266 GB, free: 44.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/1.556, allocations: 330.7 kB / 0.8269 GB, free: 43.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/1.556, allocations: 55.98 kB / 0.8269 GB, free: 43.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/1.556, allocations: 96.22 kB / 0.827 GB, free: 43.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/1.556, allocations: 68.91 kB / 0.8271 GB, free: 43.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/1.556, allocations: 0 / 0.8271 GB, free: 43.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003506/1.557, allocations: 232.6 kB / 0.8273 GB, free: 43.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.557, allocations: 8 kB / 0.8273 GB, free: 43.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.557, allocations: 0 / 0.8273 GB, free: 43.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/1.557, allocations: 44.92 kB / 0.8274 GB, free: 43.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/1.557, allocations: 51.91 kB / 0.8274 GB, free: 43.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004043/1.558, allocations: 0.5719 MB / 0.828 GB, free: 42.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/1.558, allocations: 8.016 kB / 0.828 GB, free: 42.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/1.558, allocations: 20 kB / 0.828 GB, free: 42.5 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 () * 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.0001166/1.558, allocations: 116.9 kB / 0.8281 GB, free: 42.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/1.558, allocations: 11.91 kB / 0.8281 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006873/1.559, allocations: 335 kB / 0.8284 GB, free: 42.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.559, allocations: 7.938 kB / 0.8285 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.559, allocations: 0 / 0.8285 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.559, allocations: 0 / 0.8285 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/1.56, allocations: 0.5538 MB / 0.829 GB, free: 41.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.56, allocations: 0 / 0.829 GB, free: 41.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/1.56, allocations: 59.89 kB / 0.8291 GB, free: 41.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.498e-05/1.56, allocations: 24.84 kB / 0.8291 GB, free: 41.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/1.56, allocations: 11.98 kB / 0.8291 GB, free: 41.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007169/1.561, allocations: 1.217 MB / 0.8303 GB, free: 39.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/1.561, allocations: 0 / 0.8303 GB, free: 39.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/1.561, allocations: 436.2 kB / 0.8307 GB, free: 39.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/1.562, allocations: 89.05 kB / 0.8308 GB, free: 39.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/1.562, allocations: 7.953 kB / 0.8308 GB, free: 39.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/1.562, allocations: 12.03 kB / 0.8308 GB, free: 39.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/1.562, allocations: 23.97 kB / 0.8308 GB, free: 39.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/1.562, allocations: 31.98 kB / 0.8308 GB, free: 39.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.984e-05/1.562, allocations: 83.28 kB / 0.8309 GB, free: 39.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.562, allocations: 0 / 0.8309 GB, free: 39.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005623/1.563, allocations: 103.9 kB / 0.831 GB, free: 39.15 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 () * 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.001045/1.564, allocations: 0.6235 MB / 0.8316 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004512/1.564, allocations: 180 kB / 0.8318 GB, free: 38.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.564, allocations: 4 kB / 0.8318 GB, free: 38.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/1.564, allocations: 201.7 kB / 0.832 GB, free: 38.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/1.565, allocations: 40.08 kB / 0.832 GB, free: 38.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/1.565, allocations: 315.6 kB / 0.8323 GB, free: 37.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/1.566, allocations: 0.7124 MB / 0.833 GB, free: 37.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004324/1.566, allocations: 73.17 kB / 0.8331 GB, free: 36.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/1.566, allocations: 55.41 kB / 0.8332 GB, free: 36.89 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/1.566, allocations: 0 / 0.8332 GB, free: 36.89 MB / 426.7 MB Notification: Performance of Templates: time 0.01324/1.579, allocations: 7.355 MB / 0.8403 GB, free: 29.53 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