Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001955/0.001955, allocations: 183.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 221.9 MB, free: 13.86 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.001195/0.001195, allocations: 94.8 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2686/0.2686, allocations: 43.56 MB / 362.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003824, allocations: 15.98 kB / 431.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 58.85 MB / 490.2 MB, free: 8.727 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.062/2.228, allocations: 0.7271 GB / 1.206 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/2.228, allocations: 76.72 kB / 1.206 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.06879/2.297, allocations: 33.54 MB / 1.239 GB, free: 72.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.775e-06/2.297, allocations: 0 / 1.239 GB, free: 72.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.404e-05/2.297, allocations: 0 / 1.239 GB, free: 72.84 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.0004928/2.298, allocations: 422.2 kB / 1.239 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/2.298, allocations: 8.031 kB / 1.239 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/2.299, allocations: 185.5 kB / 1.239 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/2.3, allocations: 213 kB / 1.239 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/2.3, allocations: 4.188 kB / 1.239 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/2.3, allocations: 12.69 kB / 1.239 GB, free: 71.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/2.3, allocations: 205.5 kB / 1.24 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/2.3, allocations: 0 / 1.24 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/2.3, allocations: 3.953 kB / 1.24 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/2.3, allocations: 4 kB / 1.24 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/2.301, allocations: 212.9 kB / 1.24 GB, free: 71.68 MB / 0.5105 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.001378/2.302, allocations: 0.6339 MB / 1.24 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/2.302, allocations: 161.6 kB / 1.241 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/2.303, allocations: 89.09 kB / 1.241 GB, free: 70.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/2.303, allocations: 38.31 kB / 1.241 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/2.303, allocations: 4 kB / 1.241 GB, free: 70.82 MB / 0.5105 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.005167/2.308, allocations: 1.459 MB / 1.242 GB, free: 69.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/2.308, allocations: 51.41 kB / 1.242 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/2.308, allocations: 104.4 kB / 1.242 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/2.308, allocations: 33.14 kB / 1.242 GB, free: 69.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/2.308, allocations: 99.81 kB / 1.242 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/2.308, allocations: 69.31 kB / 1.243 GB, free: 69.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/2.308, allocations: 8 kB / 1.243 GB, free: 69.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/2.308, allocations: 325.9 kB / 1.243 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/2.308, allocations: 80.2 kB / 1.243 GB, free: 68.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/2.309, allocations: 111.4 kB / 1.243 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/2.309, allocations: 94.36 kB / 1.243 GB, free: 68.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/2.309, allocations: 4 kB / 1.243 GB, free: 68.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005813/2.309, allocations: 273.6 kB / 1.243 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/2.309, allocations: 7.438 kB / 1.243 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/2.309, allocations: 4 kB / 1.243 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/2.31, allocations: 20.59 kB / 1.243 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/2.31, allocations: 51.91 kB / 1.243 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002993/2.31, allocations: 0.5401 MB / 1.244 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/2.311, allocations: 7.781 kB / 1.244 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/2.311, allocations: 15.73 kB / 1.244 GB, free: 67.77 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 () * 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 0.0001159/2.311, allocations: 133.2 kB / 1.244 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/2.311, allocations: 7.906 kB / 1.244 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/2.311, allocations: 294 kB / 1.244 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/2.311, allocations: 4 kB / 1.244 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/2.311, allocations: 7.891 kB / 1.244 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/2.311, allocations: 3.984 kB / 1.244 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/2.312, allocations: 0.6421 MB / 1.245 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/2.312, allocations: 12.02 kB / 1.245 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/2.313, allocations: 39.97 kB / 1.245 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.634e-05/2.313, allocations: 24.59 kB / 1.245 GB, free: 66.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/2.313, allocations: 11.67 kB / 1.245 GB, free: 66.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000662/2.314, allocations: 1.268 MB / 1.246 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/2.314, allocations: 0 / 1.246 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/2.314, allocations: 468.6 kB / 1.247 GB, free: 64.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/2.314, allocations: 89 kB / 1.247 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/2.314, allocations: 3 kB / 1.247 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/2.315, allocations: 11.3 kB / 1.247 GB, free: 64.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/2.315, allocations: 19.98 kB / 1.247 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/2.315, allocations: 19.61 kB / 1.247 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.673e-05/2.315, allocations: 91.14 kB / 1.247 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/2.315, allocations: 0 / 1.247 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000751/2.315, allocations: 164.2 kB / 1.247 GB, free: 64.61 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 () * 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.001088/2.317, allocations: 0.6099 MB / 1.248 GB, free: 64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005646/2.317, allocations: 223.7 kB / 1.248 GB, free: 63.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/2.317, allocations: 0 / 1.248 GB, free: 63.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/2.317, allocations: 218.5 kB / 1.248 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/2.318, allocations: 50.77 kB / 1.248 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/2.319, allocations: 0.5661 MB / 1.249 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/2.319, allocations: 0.7088 MB / 1.25 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003361/2.319, allocations: 49.62 kB / 1.25 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/2.319, allocations: 23.42 kB / 1.25 GB, free: 62.24 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/2.319, allocations: 0 / 1.25 GB, free: 62.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.01497/2.334, allocations: 11.32 MB / 1.261 GB, free: 50.94 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches