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.001056/0.001056, allocations: 183 kB / 18.09 MB, free: 3.73 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.447/1.447, allocations: 223.3 MB / 242.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009078, allocations: 93.97 kB / 293.3 MB, free: 10.55 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.3972/0.3972, allocations: 44.15 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004741, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4051, allocations: 61.88 MB / 0.5107 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/1.783, allocations: 0.6963 GB / 1.207 GB, free: 93.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/1.783, allocations: 87.34 kB / 1.207 GB, free: 93.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06476/1.848, allocations: 34.18 MB / 1.24 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.475e-06/1.848, allocations: 0 / 1.24 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.182e-05/1.848, allocations: 0 / 1.24 GB, free: 58.96 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.0004417/1.849, allocations: 419.3 kB / 1.241 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/1.849, allocations: 12.03 kB / 1.241 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/1.85, allocations: 180.6 kB / 1.241 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/1.85, allocations: 208.2 kB / 1.241 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/1.85, allocations: 12.56 kB / 1.241 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/1.851, allocations: 8.5 kB / 1.241 GB, free: 58.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/1.851, allocations: 205.8 kB / 1.241 GB, free: 57.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.851, allocations: 3.938 kB / 1.241 GB, free: 57.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/1.851, allocations: 7.984 kB / 1.241 GB, free: 57.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.851, allocations: 0 / 1.241 GB, free: 57.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/1.851, allocations: 211.9 kB / 1.242 GB, free: 57.63 MB / 0.5261 GB 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.001185/1.853, allocations: 0.6262 MB / 1.242 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/1.853, allocations: 158.5 kB / 1.242 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/1.853, allocations: 80.81 kB / 1.243 GB, free: 56.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/1.853, allocations: 89.09 kB / 1.243 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/1.853, allocations: 38.56 kB / 1.243 GB, free: 56.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/1.853, allocations: 0 / 1.243 GB, free: 56.55 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.004625/1.858, allocations: 1.46 MB / 1.244 GB, free: 54.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/1.858, allocations: 55.34 kB / 1.244 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/1.858, allocations: 117.8 kB / 1.244 GB, free: 54.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/1.858, allocations: 25.7 kB / 1.244 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/1.858, allocations: 104.2 kB / 1.244 GB, free: 54.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/1.858, allocations: 67.02 kB / 1.244 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/1.858, allocations: 4 kB / 1.244 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/1.858, allocations: 322.8 kB / 1.245 GB, free: 54.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/1.858, allocations: 83.81 kB / 1.245 GB, free: 54.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/1.859, allocations: 111.4 kB / 1.245 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/1.859, allocations: 209.4 kB / 1.245 GB, free: 53.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/1.859, allocations: 7.875 kB / 1.245 GB, free: 53.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004523/1.859, allocations: 263.8 kB / 1.245 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.859, allocations: 4 kB / 1.245 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.859, allocations: 0 / 1.245 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/1.86, allocations: 32.72 kB / 1.245 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/1.86, allocations: 47.97 kB / 1.245 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002231/1.86, allocations: 0.5407 MB / 1.246 GB, free: 52.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/1.86, allocations: 8.031 kB / 1.246 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/1.86, allocations: 11.98 kB / 1.246 GB, free: 52.88 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 () * 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 8.999e-05/1.86, allocations: 122.4 kB / 1.246 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/1.861, allocations: 16 kB / 1.246 GB, free: 52.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/1.861, allocations: 291.3 kB / 1.246 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.861, allocations: 3.984 kB / 1.246 GB, free: 52.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.861, allocations: 4 kB / 1.246 GB, free: 52.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.861, allocations: 0 / 1.246 GB, free: 52.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/1.862, allocations: 0.6496 MB / 1.247 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.862, allocations: 0 / 1.247 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/1.862, allocations: 51.89 kB / 1.247 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.014e-05/1.862, allocations: 24.78 kB / 1.247 GB, free: 51.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/1.862, allocations: 7.984 kB / 1.247 GB, free: 51.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005527/1.863, allocations: 1.268 MB / 1.248 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.863, allocations: 0 / 1.248 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/1.864, allocations: 443.3 kB / 1.249 GB, free: 49.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/1.864, allocations: 89.03 kB / 1.249 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/1.864, allocations: 8 kB / 1.249 GB, free: 49.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/1.864, allocations: 4 kB / 1.249 GB, free: 49.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/1.864, allocations: 27.91 kB / 1.249 GB, free: 49.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/1.864, allocations: 8 kB / 1.249 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.953e-05/1.864, allocations: 91.33 kB / 1.249 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/1.864, allocations: 0 / 1.249 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005712/1.865, allocations: 163.9 kB / 1.249 GB, free: 49.38 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 () * Number of clocked 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.000939/1.865, allocations: 0.6201 MB / 1.25 GB, free: 48.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004615/1.866, allocations: 207.8 kB / 1.25 GB, free: 48.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.866, allocations: 0 / 1.25 GB, free: 48.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/1.866, allocations: 222.4 kB / 1.25 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/1.867, allocations: 53.98 kB / 1.25 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/1.867, allocations: 0.5744 MB / 1.251 GB, free: 47.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/1.868, allocations: 0.7126 MB / 1.251 GB, free: 46.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003444/1.868, allocations: 49.61 kB / 1.252 GB, free: 46.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/1.868, allocations: 27.42 kB / 1.252 GB, free: 46.85 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/1.868, allocations: 0 / 1.252 GB, free: 46.85 MB / 0.5261 GB Notification: Performance of Templates: time 0.0147/1.883, allocations: 11.95 MB / 1.263 GB, free: 34.91 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/jenkins1/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