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.001325/0.001325, allocations: 172.7 kB / 14.1 MB, free: 1.223 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.815/1.815, allocations: 205.2 MB / 219.8 MB, free: 14.19 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.001021/0.001021, allocations: 82.7 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.795e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.515, allocations: 451.4 MB / 0.8021 GB, free: 54.28 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.516, allocations: 73.95 kB / 0.8022 GB, free: 54.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06079/1.576, allocations: 29.81 MB / 0.8313 GB, free: 26.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.577, allocations: 0 / 0.8313 GB, free: 26.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/1.577, allocations: 0 / 0.8313 GB, free: 26.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.000444/1.577, allocations: 391.2 kB / 0.8317 GB, free: 26.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.577, allocations: 8.031 kB / 0.8317 GB, free: 26.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/1.579, allocations: 187.6 kB / 0.8319 GB, free: 26.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/1.579, allocations: 203 kB / 0.8321 GB, free: 25.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.579, allocations: 8.203 kB / 0.8321 GB, free: 25.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/1.579, allocations: 8 kB / 0.8321 GB, free: 25.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/1.579, allocations: 224.8 kB / 0.8323 GB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/1.579, allocations: 0 / 0.8323 GB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/1.579, allocations: 0 / 0.8323 GB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.579, allocations: 4 kB / 0.8323 GB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/1.58, allocations: 155.9 kB / 0.8324 GB, free: 25.44 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.000897/1.581, allocations: 0.5678 MB / 0.833 GB, free: 24.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/1.581, allocations: 134.5 kB / 0.8331 GB, free: 24.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.719e-05/1.581, allocations: 64.84 kB / 0.8332 GB, free: 24.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/1.581, allocations: 0 / 0.8332 GB, free: 24.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/1.581, allocations: 38.56 kB / 0.8332 GB, free: 24.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 9.81e-07/1.581, allocations: 0 / 0.8332 GB, free: 24.56 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.004344/1.585, allocations: 1.101 MB / 0.8343 GB, free: 23.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/1.585, allocations: 55.36 kB / 0.8344 GB, free: 23.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/1.586, allocations: 109 kB / 0.8345 GB, free: 23.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/1.586, allocations: 25.7 kB / 0.8345 GB, free: 23.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/1.586, allocations: 99.89 kB / 0.8346 GB, free: 23.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/1.586, allocations: 67 kB / 0.8346 GB, free: 23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/1.586, allocations: 4 kB / 0.8346 GB, free: 23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.739e-05/1.586, allocations: 326.8 kB / 0.835 GB, free: 22.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/1.586, allocations: 60 kB / 0.835 GB, free: 22.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/1.586, allocations: 95.59 kB / 0.8351 GB, free: 22.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/1.586, allocations: 72.91 kB / 0.8352 GB, free: 22.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.586, allocations: 3.938 kB / 0.8352 GB, free: 22.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003613/1.586, allocations: 248.7 kB / 0.8354 GB, free: 22.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.586, allocations: 8 kB / 0.8354 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.587, allocations: 0 / 0.8354 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/1.587, allocations: 48.83 kB / 0.8355 GB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/1.587, allocations: 51.91 kB / 0.8355 GB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003312/1.587, allocations: 0.572 MB / 0.8361 GB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/1.588, allocations: 4 kB / 0.8361 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/1.588, allocations: 31.92 kB / 0.8361 GB, free: 21.44 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 9.041e-05/1.588, allocations: 120.9 kB / 0.8362 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/1.588, allocations: 7.906 kB / 0.8362 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/1.588, allocations: 346.8 kB / 0.8366 GB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.588, allocations: 0 / 0.8366 GB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.588, allocations: 4 kB / 0.8366 GB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.588, allocations: 4 kB / 0.8366 GB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/1.589, allocations: 0.6045 MB / 0.8372 GB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.589, allocations: 4 kB / 0.8372 GB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/1.589, allocations: 59.95 kB / 0.8372 GB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.353e-05/1.59, allocations: 20.94 kB / 0.8372 GB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/1.59, allocations: 12 kB / 0.8373 GB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006444/1.59, allocations: 1.268 MB / 0.8385 GB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.59, allocations: 0 / 0.8385 GB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/1.591, allocations: 460.2 kB / 0.8389 GB, free: 18.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/1.591, allocations: 85.05 kB / 0.839 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/1.591, allocations: 8 kB / 0.839 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/1.591, allocations: 11.91 kB / 0.839 GB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/1.591, allocations: 23.91 kB / 0.8391 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/1.591, allocations: 27.98 kB / 0.8391 GB, free: 18.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.265e-05/1.591, allocations: 87.59 kB / 0.8392 GB, free: 18.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.591, allocations: 4.062 kB / 0.8392 GB, free: 18.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006284/1.592, allocations: 115.9 kB / 0.8393 GB, free: 17.91 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.0009443/1.593, allocations: 0.5424 MB / 0.8398 GB, free: 17.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/1.593, allocations: 191.8 kB / 0.84 GB, free: 17.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.593, allocations: 0 / 0.84 GB, free: 17.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/1.593, allocations: 218.9 kB / 0.8402 GB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/1.594, allocations: 40.72 kB / 0.8402 GB, free: 16.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/1.594, allocations: 341.3 kB / 0.8406 GB, free: 16.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/1.595, allocations: 0.7127 MB / 0.8413 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003923/1.595, allocations: 69.17 kB / 0.8413 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/1.595, allocations: 51.41 kB / 0.8414 GB, free: 15.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/1.595, allocations: 0 / 0.8414 GB, free: 15.68 MB / 426.7 MB Notification: Performance of Templates: time 0.01503/1.61, allocations: 12.53 MB / 0.8536 GB, free: 3.133 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