Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 98.08 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.488e-05, allocations: 224 / 451.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.534/1.656, allocations: 0.6961 GB / 1.198 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/1.656, allocations: 74.14 kB / 1.198 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06274/1.719, allocations: 34.1 MB / 1.231 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/1.719, allocations: 4 kB / 1.231 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.719, allocations: 4 kB / 1.231 GB, free: 99.79 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003526/1.719, allocations: 410.6 kB / 1.232 GB, free: 99.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/1.719, allocations: 12.03 kB / 1.232 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/1.721, allocations: 192.1 kB / 1.232 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/1.721, allocations: 206.9 kB / 1.232 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/1.721, allocations: 4.188 kB / 1.232 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/1.721, allocations: 12 kB / 1.232 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/1.721, allocations: 194.9 kB / 1.232 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/1.721, allocations: 0 / 1.232 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/1.721, allocations: 4 kB / 1.232 GB, free: 98.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.721, allocations: 4 kB / 1.232 GB, free: 98.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/1.722, allocations: 188.5 kB / 1.232 GB, free: 98.5 MB / 0.5261 GB 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.001157/1.723, allocations: 0.6098 MB / 1.233 GB, free: 97.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/1.723, allocations: 152 kB / 1.233 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.723, allocations: 80.84 kB / 1.233 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/1.723, allocations: 89.09 kB / 1.233 GB, free: 97.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/1.723, allocations: 34.56 kB / 1.233 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/1.723, allocations: 0 / 1.233 GB, free: 97.44 MB / 0.5261 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.003968/1.727, allocations: 1.214 MB / 1.234 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/1.727, allocations: 63.34 kB / 1.235 GB, free: 96.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/1.728, allocations: 101 kB / 1.235 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/1.728, allocations: 29.7 kB / 1.235 GB, free: 95.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/1.728, allocations: 96.27 kB / 1.235 GB, free: 95.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/1.728, allocations: 67.09 kB / 1.235 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/1.728, allocations: 4 kB / 1.235 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.848e-05/1.728, allocations: 318.8 kB / 1.235 GB, free: 95.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/1.728, allocations: 79.86 kB / 1.235 GB, free: 95.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/1.728, allocations: 107 kB / 1.235 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/1.728, allocations: 87.8 kB / 1.235 GB, free: 95.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/1.728, allocations: 0 / 1.235 GB, free: 95.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003499/1.728, allocations: 250.2 kB / 1.236 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.728, allocations: 8.312 kB / 1.236 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.728, allocations: 0 / 1.236 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/1.729, allocations: 28.78 kB / 1.236 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/1.729, allocations: 55.95 kB / 1.236 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000267/1.729, allocations: 0.5327 MB / 1.236 GB, free: 94.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/1.729, allocations: 20.06 kB / 1.236 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/1.729, allocations: 8 kB / 1.236 GB, free: 94.21 MB / 0.5261 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 () * 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.068e-05/1.73, allocations: 116.9 kB / 1.236 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/1.73, allocations: 7.906 kB / 1.236 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/1.73, allocations: 269.2 kB / 1.237 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.73, allocations: 4 kB / 1.237 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.73, allocations: 0 / 1.237 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.73, allocations: 3.984 kB / 1.237 GB, free: 93.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/1.731, allocations: 0.6489 MB / 1.237 GB, free: 93.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.731, allocations: 3.953 kB / 1.237 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/1.731, allocations: 51.89 kB / 1.237 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.974e-05/1.731, allocations: 24.84 kB / 1.237 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.731, allocations: 8.094 kB / 1.237 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005833/1.732, allocations: 1.264 MB / 1.239 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.732, allocations: 8.094 kB / 1.239 GB, free: 91.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/1.732, allocations: 439.2 kB / 1.239 GB, free: 91.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/1.732, allocations: 88.95 kB / 1.239 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/1.732, allocations: 7.984 kB / 1.239 GB, free: 91.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/1.733, allocations: 7.938 kB / 1.239 GB, free: 91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/1.733, allocations: 19.94 kB / 1.239 GB, free: 90.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/1.733, allocations: 11.98 kB / 1.239 GB, free: 90.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.757e-05/1.733, allocations: 91.58 kB / 1.239 GB, free: 90.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.733, allocations: 0 / 1.239 GB, free: 90.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006069/1.733, allocations: 168 kB / 1.239 GB, free: 90.72 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.0009076/1.734, allocations: 0.6238 MB / 1.24 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003923/1.735, allocations: 195.9 kB / 1.24 GB, free: 89.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.735, allocations: 0 / 1.24 GB, free: 89.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/1.735, allocations: 215.7 kB / 1.24 GB, free: 89.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/1.735, allocations: 40.34 kB / 1.24 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/1.736, allocations: 325.2 kB / 1.241 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/1.736, allocations: 0.7126 MB / 1.241 GB, free: 88.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000311/1.736, allocations: 49.39 kB / 1.242 GB, free: 88.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/1.736, allocations: 23.42 kB / 1.242 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/1.736, allocations: 4 kB / 1.242 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.01355/1.75, allocations: 12.81 MB / 1.254 GB, free: 75.68 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches