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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 92.78 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 176.6 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.3 MB / 242.3 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.25 MB / 337.7 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.000353, allocations: 13.03 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 61.92 MB / 472.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4264/0.5654, allocations: 145.5 MB / 0.6032 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.5678, allocations: 1.621 MB / 0.6048 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.568, allocations: 4 kB / 0.6048 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.5684, allocations: 47.78 kB / 0.6049 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009795/0.5694, allocations: 371.7 kB / 0.6052 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.5698, allocations: 145.2 kB / 0.6054 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.5701, allocations: 243.2 kB / 0.6056 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.5702, allocations: 4 kB / 0.6056 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.5704, allocations: 73.67 kB / 0.6057 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.5705, allocations: 63.75 kB / 0.6057 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.5705, allocations: 4 kB / 0.6057 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.572, allocations: 0.7094 MB / 0.6064 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.5721, allocations: 27.91 kB / 0.6064 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.5721, allocations: 74.52 kB / 0.6065 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.5728, allocations: 450.8 kB / 0.6069 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5728, allocations: 0 / 0.6069 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5728, allocations: 0 / 0.6069 GB, free: 13.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.5728, allocations: 0 / 0.6069 GB, free: 13.51 MB / 446.1 MB 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.0004955/0.5733, allocations: 408.1 kB / 0.6073 GB, free: 13.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5733, allocations: 8.031 kB / 0.6073 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.5756, allocations: 196.6 kB / 0.6075 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.5758, allocations: 208.1 kB / 0.6077 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5759, allocations: 11.94 kB / 0.6077 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.5759, allocations: 8 kB / 0.6077 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.5764, allocations: 205.5 kB / 0.6079 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5764, allocations: 0 / 0.6079 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.5765, allocations: 0 / 0.6079 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.5765, allocations: 4 kB / 0.6079 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.5771, allocations: 235.8 kB / 0.6082 GB, free: 12.16 MB / 446.1 MB 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.001751/0.5788, allocations: 0.6726 MB / 0.6088 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.5793, allocations: 194.5 kB / 0.609 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.5795, allocations: 99.67 kB / 0.6091 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.5797, allocations: 93.08 kB / 0.6092 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.5797, allocations: 38.56 kB / 0.6092 GB, free: 10.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.5797, allocations: 0 / 0.6092 GB, free: 10.98 MB / 446.1 MB 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.005817/0.5856, allocations: 1.533 MB / 0.6107 GB, free: 9.336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.5856, allocations: 55.41 kB / 0.6108 GB, free: 9.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.5857, allocations: 113.8 kB / 0.6109 GB, free: 9.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.5858, allocations: 29.7 kB / 0.6109 GB, free: 9.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.5858, allocations: 96.41 kB / 0.611 GB, free: 9.016 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.5859, allocations: 70.94 kB / 0.6111 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.5859, allocations: 25.7 kB / 0.6111 GB, free: 8.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.586, allocations: 322.8 kB / 0.6114 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.5863, allocations: 91.95 kB / 0.6115 GB, free: 8.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.5865, allocations: 115.4 kB / 0.6116 GB, free: 8.375 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.587, allocations: 234.6 kB / 0.6118 GB, free: 8.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.587, allocations: 0 / 0.6118 GB, free: 8.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006446/0.5876, allocations: 278.3 kB / 0.6121 GB, free: 7.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5877, allocations: 11.94 kB / 0.6121 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5877, allocations: 0 / 0.6121 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.5878, allocations: 28.78 kB / 0.6121 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.5883, allocations: 51.95 kB / 0.6122 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003813/0.5887, allocations: 0.5406 MB / 0.6127 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.589, allocations: 16.03 kB / 0.6127 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.5891, allocations: 15.92 kB / 0.6127 GB, free: 7.164 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.5892, allocations: 121.8 kB / 0.6129 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.5892, allocations: 11.91 kB / 0.6129 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/0.59, allocations: 315.4 kB / 0.6132 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.59, allocations: 7.938 kB / 0.6132 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5901, allocations: 0 / 0.6132 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5901, allocations: 3.984 kB / 0.6132 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.5911, allocations: 0.6678 MB / 0.6138 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5912, allocations: 3.984 kB / 0.6138 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.5916, allocations: 51.91 kB / 0.6139 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.719e-05/0.5917, allocations: 16.84 kB / 0.6139 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.5918, allocations: 16.08 kB / 0.6139 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009824/0.5927, allocations: 1.268 MB / 0.6152 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5928, allocations: 4.031 kB / 0.6152 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008424/0.5936, allocations: 451.1 kB / 0.6156 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.5937, allocations: 85.05 kB / 0.6157 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.5937, allocations: 11.94 kB / 0.6157 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.5941, allocations: 11.98 kB / 0.6157 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.5941, allocations: 11.98 kB / 0.6157 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.5941, allocations: 15.98 kB / 0.6157 GB, free: 3.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.929e-05/0.5942, allocations: 91.27 kB / 0.6158 GB, free: 3.754 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5942, allocations: 0 / 0.6158 GB, free: 3.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005658/0.5948, allocations: 135.9 kB / 0.6159 GB, free: 3.621 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007143/0.5955, allocations: 266.4 kB / 0.6162 GB, free: 3.355 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006111/0.5961, allocations: 223.7 kB / 0.6164 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5962, allocations: 0 / 0.6164 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.5966, allocations: 231 kB / 0.6166 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.5971, allocations: 57.36 kB / 0.6167 GB, free: 2.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/0.5979, allocations: 0.5854 MB / 0.6173 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.5982, allocations: 0.7049 MB / 0.6179 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004163/0.5986, allocations: 53.39 kB / 0.618 GB, free: 1.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.5988, allocations: 27.42 kB / 0.618 GB, free: 1.414 MB / 446.1 MB Notification: Performance of SimCode: time 2.254e-06/0.5988, allocations: 0 / 0.618 GB, free: 1.414 MB / 446.1 MB Notification: Performance of Templates: time 0.01113/0.6099, allocations: 6.022 MB / 0.6239 GB, free: 11.41 MB / 462.1 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches