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.001735/0.001735, allocations: 109.9 kB / 18.3 MB, free: 4.887 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.001895/0.001895, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.399/1.399, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.217/0.217, allocations: 44.17 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 55.84 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1101, allocations: 60.84 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4001/0.5103, allocations: 149.6 MB / 0.605 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.5125, allocations: 1.589 MB / 0.6065 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.5126, allocations: 4 kB / 0.6065 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.513, allocations: 47.64 kB / 0.6066 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.5143, allocations: 407.7 kB / 0.607 GB, free: 9.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.5149, allocations: 167.4 kB / 0.6071 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.5152, allocations: 183.2 kB / 0.6073 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.5152, allocations: 15.92 kB / 0.6073 GB, free: 8.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.5154, allocations: 77.67 kB / 0.6074 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.5156, allocations: 63.73 kB / 0.6074 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.5156, allocations: 8 kB / 0.6074 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.517, allocations: 0.5846 MB / 0.608 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.5171, allocations: 35.84 kB / 0.6081 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.5171, allocations: 51.8 kB / 0.6081 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008019/0.5179, allocations: 405.8 kB / 0.6085 GB, free: 7.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.518, allocations: 0 / 0.6085 GB, free: 7.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.518, allocations: 0 / 0.6085 GB, free: 7.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.518, allocations: 0 / 0.6085 GB, free: 7.59 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.0006598/0.5187, allocations: 432 kB / 0.6089 GB, free: 7.121 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5187, allocations: 8.031 kB / 0.6089 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.5213, allocations: 196.6 kB / 0.6091 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.5216, allocations: 208.2 kB / 0.6093 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.5216, allocations: 7.938 kB / 0.6093 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.5216, allocations: 11.98 kB / 0.6093 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.5222, allocations: 201.5 kB / 0.6095 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5222, allocations: 0 / 0.6095 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.5222, allocations: 4 kB / 0.6095 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5223, allocations: 4 kB / 0.6095 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006259/0.5229, allocations: 239.8 kB / 0.6097 GB, free: 6.215 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.001947/0.5248, allocations: 0.6606 MB / 0.6104 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.5253, allocations: 194.4 kB / 0.6106 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.5256, allocations: 88.83 kB / 0.6107 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.5257, allocations: 93.08 kB / 0.6107 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.5258, allocations: 34.56 kB / 0.6108 GB, free: 5.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.5258, allocations: 0 / 0.6108 GB, free: 5.055 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.006318/0.5321, allocations: 1.541 MB / 0.6123 GB, free: 3.406 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.5322, allocations: 55.41 kB / 0.6123 GB, free: 3.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5323, allocations: 105.8 kB / 0.6124 GB, free: 3.227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.5323, allocations: 33.7 kB / 0.6125 GB, free: 3.188 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.5325, allocations: 92.33 kB / 0.6126 GB, free: 3.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.5326, allocations: 71.02 kB / 0.6126 GB, free: 3.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.5327, allocations: 41.7 kB / 0.6127 GB, free: 2.977 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.5329, allocations: 326.8 kB / 0.613 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.5332, allocations: 91.89 kB / 0.6131 GB, free: 2.559 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.5334, allocations: 129 kB / 0.6132 GB, free: 2.422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.5339, allocations: 231.2 kB / 0.6134 GB, free: 2.188 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5339, allocations: 0 / 0.6134 GB, free: 2.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006951/0.5346, allocations: 282.2 kB / 0.6137 GB, free: 1.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5347, allocations: 4.094 kB / 0.6137 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5347, allocations: 4 kB / 0.6137 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.5348, allocations: 20.84 kB / 0.6137 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.5353, allocations: 59.89 kB / 0.6138 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004624/0.5358, allocations: 0.5328 MB / 0.6143 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.5361, allocations: 12.11 kB / 0.6143 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.5362, allocations: 15.94 kB / 0.6143 GB, free: 1.227 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.0001407/0.5363, allocations: 121.8 kB / 0.6144 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.5364, allocations: 15.89 kB / 0.6144 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008656/0.5373, allocations: 309.7 kB / 0.6147 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.5373, allocations: 7.938 kB / 0.6147 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5373, allocations: 3.938 kB / 0.6147 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5373, allocations: 3.984 kB / 0.6148 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.5386, allocations: 0.6822 MB / 0.6154 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5386, allocations: 0.875 kB / 0.6154 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.5391, allocations: 48.02 kB / 0.6155 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.086e-05/0.5393, allocations: 24.72 kB / 0.6155 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.5393, allocations: 12.08 kB / 0.6155 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.5403, allocations: 1.368 MB / 0.6168 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5404, allocations: 7.969 kB / 0.6168 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.5413, allocations: 446.7 kB / 0.6173 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.5414, allocations: 88.95 kB / 0.6174 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.5414, allocations: 8 kB / 0.6174 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.5418, allocations: 11.98 kB / 0.6174 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.5418, allocations: 19.92 kB / 0.6174 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/0.5419, allocations: 11.98 kB / 0.6174 GB, free: 13.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.274e-05/0.542, allocations: 91.64 kB / 0.6175 GB, free: 13.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.542, allocations: 0 / 0.6175 GB, free: 13.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.5426, allocations: 131.9 kB / 0.6176 GB, free: 13.57 MB / 462.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.0007685/0.5434, allocations: 251 kB / 0.6179 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.544, allocations: 246.9 kB / 0.6181 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.544, allocations: 0 / 0.6181 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.5445, allocations: 242.9 kB / 0.6183 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.5449, allocations: 45.2 kB / 0.6184 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.5459, allocations: 0.4991 MB / 0.6189 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.5462, allocations: 0.7046 MB / 0.6195 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.5464, allocations: 31.42 kB / 0.6196 GB, free: 11.48 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5464, allocations: 0 / 0.6196 GB, free: 11.48 MB / 462.1 MB Notification: Performance of Templates: time 0.008889/0.5553, allocations: 5.091 MB / 0.6245 GB, free: 6.395 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/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