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.001479/0.001479, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.474/1.474, allocations: 223.2 MB / 241 MB, free: 11.86 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.0009904/0.0009904, allocations: 94.97 kB / 292.2 MB, free: 10.89 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.4732/0.4732, allocations: 44.21 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 8 kB / 459.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4483, allocations: 61.9 MB / 0.5095 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.641/2.09, allocations: 0.6962 GB / 1.206 GB, free: 93.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/2.09, allocations: 83.47 kB / 1.206 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06497/2.155, allocations: 34.2 MB / 1.239 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/2.155, allocations: 0 / 1.239 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.271e-05/2.155, allocations: 0 / 1.239 GB, free: 59.02 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.0005016/2.156, allocations: 419.2 kB / 1.24 GB, free: 58.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/2.156, allocations: 12.25 kB / 1.24 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/2.157, allocations: 187.6 kB / 1.24 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/2.157, allocations: 214.9 kB / 1.24 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/2.157, allocations: 192 / 1.24 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/2.158, allocations: 12 kB / 1.24 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/2.158, allocations: 199.9 kB / 1.24 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/2.158, allocations: 4 kB / 1.24 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/2.158, allocations: 4 kB / 1.24 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/2.158, allocations: 4 kB / 1.24 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/2.158, allocations: 208.4 kB / 1.24 GB, free: 57.69 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.001192/2.16, allocations: 0.6189 MB / 1.241 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/2.16, allocations: 166.4 kB / 1.241 GB, free: 56.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/2.16, allocations: 97.08 kB / 1.241 GB, free: 56.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/2.16, allocations: 30.56 kB / 1.241 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/2.16, allocations: 4 kB / 1.241 GB, free: 56.68 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.004907/2.165, allocations: 1.463 MB / 1.243 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/2.165, allocations: 55.41 kB / 1.243 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.47e-05/2.165, allocations: 101 kB / 1.243 GB, free: 54.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/2.165, allocations: 29.7 kB / 1.243 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/2.165, allocations: 96.27 kB / 1.243 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/2.165, allocations: 74.98 kB / 1.243 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/2.165, allocations: 4 kB / 1.243 GB, free: 54.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.35e-05/2.165, allocations: 322.8 kB / 1.243 GB, free: 54.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/2.166, allocations: 87.77 kB / 1.243 GB, free: 54.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/2.166, allocations: 117.5 kB / 1.244 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/2.166, allocations: 94.55 kB / 1.244 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/2.166, allocations: 7.953 kB / 1.244 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004576/2.166, allocations: 254.3 kB / 1.244 GB, free: 53.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/2.166, allocations: 8 kB / 1.244 GB, free: 53.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/2.166, allocations: 0 / 1.244 GB, free: 53.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/2.167, allocations: 28.78 kB / 1.244 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/2.167, allocations: 55.95 kB / 1.244 GB, free: 53.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002252/2.167, allocations: 0.5329 MB / 1.245 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/2.167, allocations: 11.98 kB / 1.245 GB, free: 53.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/2.167, allocations: 11.95 kB / 1.245 GB, free: 53.16 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 9.789e-05/2.168, allocations: 122.4 kB / 1.245 GB, free: 53.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/2.168, allocations: 7.906 kB / 1.245 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006189/2.168, allocations: 307 kB / 1.245 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/2.168, allocations: 0 / 1.245 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/2.168, allocations: 0 / 1.245 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/2.168, allocations: 4 kB / 1.245 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008604/2.169, allocations: 0.6508 MB / 1.246 GB, free: 52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/2.169, allocations: 4.094 kB / 1.246 GB, free: 51.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/2.169, allocations: 51.86 kB / 1.246 GB, free: 51.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/2.17, allocations: 20.84 kB / 1.246 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/2.17, allocations: 11.98 kB / 1.246 GB, free: 51.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005481/2.17, allocations: 1.269 MB / 1.247 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/2.17, allocations: 4.031 kB / 1.247 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/2.171, allocations: 466.1 kB / 1.247 GB, free: 50 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/2.171, allocations: 89.03 kB / 1.247 GB, free: 49.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/2.171, allocations: 4 kB / 1.247 GB, free: 49.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/2.171, allocations: 15.98 kB / 1.247 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/2.171, allocations: 20 kB / 1.248 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/2.171, allocations: 11.98 kB / 1.248 GB, free: 49.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.917e-05/2.171, allocations: 87.27 kB / 1.248 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.171, allocations: 3.938 kB / 1.248 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006086/2.172, allocations: 163.9 kB / 1.248 GB, free: 49.59 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.0009186/2.173, allocations: 0.6218 MB / 1.248 GB, free: 48.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000473/2.173, allocations: 204.6 kB / 1.249 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.173, allocations: 0 / 1.249 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/2.173, allocations: 228.7 kB / 1.249 GB, free: 48.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/2.174, allocations: 47.89 kB / 1.249 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/2.175, allocations: 0.5688 MB / 1.249 GB, free: 47.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/2.175, allocations: 0.7049 MB / 1.25 GB, free: 47.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003352/2.175, allocations: 53.61 kB / 1.25 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/2.175, allocations: 23.42 kB / 1.25 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/2.175, allocations: 0 / 1.25 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.01262/2.188, allocations: 11.3 MB / 1.261 GB, free: 35.79 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