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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 108.5 kB / 17.03 MB, free: 5.664 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.001072/0.001073, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2329/0.2329, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.41 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1112, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.439/0.5503, allocations: 150.8 MB / 0.5789 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.5519, allocations: 1.49 MB / 0.5804 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.552, allocations: 7.938 kB / 0.5804 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.5523, allocations: 45.53 kB / 0.5804 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009389/0.5533, allocations: 386.6 kB / 0.5808 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.5539, allocations: 169.2 kB / 0.5809 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.5541, allocations: 181.7 kB / 0.5811 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.5542, allocations: 7.391 kB / 0.5811 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.5543, allocations: 79 kB / 0.5812 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.5544, allocations: 58.67 kB / 0.5813 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.5545, allocations: 6.844 kB / 0.5813 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.5555, allocations: 0.5749 MB / 0.5818 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.5556, allocations: 30.3 kB / 0.5818 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.5557, allocations: 46.86 kB / 0.5819 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006422/0.5564, allocations: 385.9 kB / 0.5823 GB, free: 12.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5564, allocations: 0 / 0.5823 GB, free: 12.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5564, allocations: 2.625 kB / 0.5823 GB, free: 12.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.5564, allocations: 0 / 0.5823 GB, free: 12.76 MB / 430.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.0005784/0.557, allocations: 434.5 kB / 0.5827 GB, free: 12.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.557, allocations: 14.2 kB / 0.5827 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.5591, allocations: 190 kB / 0.5829 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.5594, allocations: 213.7 kB / 0.5831 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5594, allocations: 6.594 kB / 0.5831 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.5595, allocations: 10.78 kB / 0.5831 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.5599, allocations: 208.6 kB / 0.5833 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.56, allocations: 0 / 0.5833 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.56, allocations: 4.062 kB / 0.5833 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.56, allocations: 6.5 kB / 0.5833 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.5605, allocations: 242.1 kB / 0.5835 GB, free: 12.09 MB / 430.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.001629/0.5622, allocations: 0.6714 MB / 0.5842 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.5626, allocations: 193 kB / 0.5844 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.5627, allocations: 95.66 kB / 0.5845 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.5629, allocations: 93.48 kB / 0.5846 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.563, allocations: 36.91 kB / 0.5846 GB, free: 11.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.563, allocations: 0 / 0.5846 GB, free: 11.54 MB / 430.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.005872/0.5689, allocations: 1.531 MB / 0.5861 GB, free: 10.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5689, allocations: 53.34 kB / 0.5861 GB, free: 10.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.569, allocations: 111 kB / 0.5862 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.5691, allocations: 31.52 kB / 0.5863 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.5691, allocations: 99.12 kB / 0.5864 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.5692, allocations: 70.25 kB / 0.5864 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.5693, allocations: 46.72 kB / 0.5865 GB, free: 10.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5694, allocations: 321.2 kB / 0.5868 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.5696, allocations: 91.64 kB / 0.5869 GB, free: 10.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.5699, allocations: 122.1 kB / 0.587 GB, free: 10.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.5703, allocations: 226.8 kB / 0.5872 GB, free: 10.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5703, allocations: 0 / 0.5872 GB, free: 10.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005956/0.5709, allocations: 289.7 kB / 0.5875 GB, free: 9.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5709, allocations: 5.969 kB / 0.5875 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5709, allocations: 2.875 kB / 0.5875 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.5711, allocations: 21.94 kB / 0.5875 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.5715, allocations: 58.27 kB / 0.5876 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003903/0.5719, allocations: 0.5376 MB / 0.5881 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.5722, allocations: 5.156 kB / 0.5881 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.5723, allocations: 12.42 kB / 0.5881 GB, free: 9.391 MB / 430.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.0001378/0.5724, allocations: 136.4 kB / 0.5882 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.5725, allocations: 12.56 kB / 0.5882 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007254/0.5732, allocations: 319.8 kB / 0.5886 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.5732, allocations: 2.906 kB / 0.5886 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5732, allocations: 9.062 kB / 0.5886 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5733, allocations: 0 / 0.5886 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.5743, allocations: 0.6727 MB / 0.5892 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.5743, allocations: 10.81 kB / 0.5892 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.5747, allocations: 50.92 kB / 0.5893 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-05/0.5748, allocations: 16.62 kB / 0.5893 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.5749, allocations: 11.53 kB / 0.5893 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009609/0.5758, allocations: 1.369 MB / 0.5906 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5758, allocations: 0 / 0.5906 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.5766, allocations: 454.8 kB / 0.5911 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.5767, allocations: 87.58 kB / 0.5912 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.5768, allocations: 9.234 kB / 0.5912 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.5771, allocations: 5.406 kB / 0.5912 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.5771, allocations: 18.91 kB / 0.5912 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.5772, allocations: 11.06 kB / 0.5912 GB, free: 6.941 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.5772, allocations: 91.17 kB / 0.5913 GB, free: 6.859 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.445e-06/0.5772, allocations: 0 / 0.5913 GB, free: 6.859 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006218/0.5779, allocations: 134 kB / 0.5914 GB, free: 6.836 MB / 430.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.0006149/0.5785, allocations: 250.5 kB / 0.5917 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.5791, allocations: 235.5 kB / 0.5919 GB, free: 6.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5791, allocations: 0 / 0.5919 GB, free: 6.645 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.5794, allocations: 232.5 kB / 0.5921 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.5799, allocations: 54.5 kB / 0.5922 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.5808, allocations: 491.6 kB / 0.5926 GB, free: 6.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.5811, allocations: 0.7056 MB / 0.5933 GB, free: 5.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.5814, allocations: 52.45 kB / 0.5934 GB, free: 5.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.5815, allocations: 28.08 kB / 0.5934 GB, free: 5.395 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5815, allocations: 0 / 0.5934 GB, free: 5.395 MB / 430.1 MB Notification: Performance of Templates: time 0.009868/0.5914, allocations: 6.213 MB / 0.5995 GB, free: 2.215 MB / 430.1 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches