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.001413/0.001413, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.0009933/0.0009932, allocations: 86.97 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2561/0.2561, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.907e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1957, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.139/2.335, allocations: 0.6955 GB / 1.19 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/2.335, allocations: 72.72 kB / 1.19 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.07195/2.407, allocations: 33.55 MB / 1.223 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/2.407, allocations: 0 / 1.223 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.277e-05/2.407, allocations: 0 / 1.223 GB, free: 57.41 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005104/2.408, allocations: 418.6 kB / 1.223 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/2.408, allocations: 15.98 kB / 1.223 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/2.41, allocations: 192.1 kB / 1.224 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/2.41, allocations: 202.9 kB / 1.224 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/2.41, allocations: 4 kB / 1.224 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/2.41, allocations: 4 kB / 1.224 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004861/2.411, allocations: 188.3 kB / 1.224 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/2.411, allocations: 146.9 kB / 1.224 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/2.411, allocations: 0 / 1.224 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/2.411, allocations: 8 kB / 1.224 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/2.411, allocations: 0 / 1.224 GB, free: 56.16 MB / 0.5105 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.001574/2.413, allocations: 0.5773 MB / 1.225 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/2.413, allocations: 146.5 kB / 1.225 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/2.413, allocations: 68.84 kB / 1.225 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/2.414, allocations: 97.09 kB / 1.225 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/2.414, allocations: 30.56 kB / 1.225 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/2.414, allocations: 0 / 1.225 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.004902/2.418, allocations: 1.002 MB / 1.226 GB, free: 54.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/2.419, allocations: 55.41 kB / 1.226 GB, free: 54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/2.419, allocations: 104.9 kB / 1.226 GB, free: 53.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/2.419, allocations: 25.7 kB / 1.226 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/2.419, allocations: 100.3 kB / 1.226 GB, free: 53.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/2.419, allocations: 67 kB / 1.226 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/2.419, allocations: 0 / 1.226 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/2.419, allocations: 318.8 kB / 1.227 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/2.419, allocations: 71.84 kB / 1.227 GB, free: 53.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/2.419, allocations: 107.5 kB / 1.227 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/2.419, allocations: 79.53 kB / 1.227 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/2.419, allocations: 3.938 kB / 1.227 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004823/2.42, allocations: 238.2 kB / 1.227 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/2.42, allocations: 4 kB / 1.227 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/2.42, allocations: 4.219 kB / 1.227 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/2.42, allocations: 20.94 kB / 1.227 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/2.42, allocations: 59.84 kB / 1.227 GB, free: 52.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002965/2.421, allocations: 0.5331 MB / 1.228 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/2.421, allocations: 8.031 kB / 1.228 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/2.421, allocations: 12.08 kB / 1.228 GB, free: 52.19 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 () * 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.862e-05/2.421, allocations: 112.9 kB / 1.228 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/2.421, allocations: 11.91 kB / 1.228 GB, free: 52.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/2.422, allocations: 259 kB / 1.228 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/2.422, allocations: 0 / 1.228 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/2.422, allocations: 4 kB / 1.228 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/2.422, allocations: 0 / 1.228 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009774/2.423, allocations: 0.5989 MB / 1.229 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/2.423, allocations: 0 / 1.229 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/2.423, allocations: 51.89 kB / 1.229 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-05/2.424, allocations: 16.86 kB / 1.229 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/2.424, allocations: 11.94 kB / 1.229 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006699/2.424, allocations: 1.213 MB / 1.23 GB, free: 49.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.424, allocations: 3.938 kB / 1.23 GB, free: 49.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/2.425, allocations: 428.6 kB / 1.23 GB, free: 49.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/2.425, allocations: 88.98 kB / 1.23 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/2.425, allocations: 4.062 kB / 1.23 GB, free: 49.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/2.425, allocations: 7.984 kB / 1.23 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/2.425, allocations: 15.92 kB / 1.23 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/2.425, allocations: 19.98 kB / 1.23 GB, free: 49.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.615e-05/2.426, allocations: 83.23 kB / 1.231 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/2.426, allocations: 0 / 1.231 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008256/2.426, allocations: 159.9 kB / 1.231 GB, free: 48.87 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 () * 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.001459/2.428, allocations: 0.6974 MB / 1.231 GB, free: 48.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004792/2.428, allocations: 189.8 kB / 1.232 GB, free: 47.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.428, allocations: 192 / 1.232 GB, free: 47.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002989/2.429, allocations: 209.6 kB / 1.232 GB, free: 47.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/2.429, allocations: 39.89 kB / 1.232 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/2.43, allocations: 311.9 kB / 1.232 GB, free: 47.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/2.43, allocations: 0.7124 MB / 1.233 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005169/2.431, allocations: 49.39 kB / 1.233 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/2.431, allocations: 23.42 kB / 1.233 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/2.431, allocations: 0 / 1.233 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.01401/2.445, allocations: 7.604 MB / 1.24 GB, free: 39.01 MB / 0.5105 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