Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 202.4 kB / 18.57 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 82.77 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1377, allocations: 62.44 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.396/0.5337, allocations: 152.4 MB / 0.6177 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.5361, allocations: 1.591 MB / 0.6193 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.5362, allocations: 0 / 0.6193 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.5366, allocations: 58.17 kB / 0.6194 GB, free: 9.266 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009048/0.5375, allocations: 402.8 kB / 0.6197 GB, free: 8.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.538, allocations: 174.7 kB / 0.6199 GB, free: 8.707 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.5382, allocations: 175.3 kB / 0.6201 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.5383, allocations: 14.19 kB / 0.6201 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.5384, allocations: 83.62 kB / 0.6202 GB, free: 8.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.5386, allocations: 51.83 kB / 0.6202 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.5386, allocations: 8 kB / 0.6202 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.5397, allocations: 0.608 MB / 0.6208 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.5398, allocations: 31.89 kB / 0.6209 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.026e-05/0.5399, allocations: 47.8 kB / 0.6209 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.5405, allocations: 403.1 kB / 0.6213 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5405, allocations: 0 / 0.6213 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5405, allocations: 0 / 0.6213 GB, free: 7.301 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.5405, allocations: 0 / 0.6213 GB, free: 7.301 MB / 462.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.0007307/0.5413, allocations: 432 kB / 0.6217 GB, free: 6.832 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5413, allocations: 8.031 kB / 0.6217 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.448e-05/0.5414, allocations: 46.73 kB / 0.6217 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.5438, allocations: 200.4 kB / 0.6219 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.5441, allocations: 212.8 kB / 0.6221 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.5441, allocations: 8 kB / 0.6221 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.5442, allocations: 8 kB / 0.6222 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.5446, allocations: 193.5 kB / 0.6223 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5446, allocations: 4 kB / 0.6223 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.5447, allocations: 11.94 kB / 0.6224 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.5447, allocations: 7.875 kB / 0.6224 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.5453, allocations: 231.8 kB / 0.6226 GB, free: 5.867 MB / 462.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.001834/0.5472, allocations: 0.6686 MB / 0.6232 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.5476, allocations: 188.7 kB / 0.6234 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.5479, allocations: 96.8 kB / 0.6235 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.548, allocations: 85.11 kB / 0.6236 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.5481, allocations: 42.55 kB / 0.6236 GB, free: 4.703 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.5481, allocations: 0 / 0.6236 GB, free: 4.703 MB / 462.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.006141/0.5542, allocations: 1.53 MB / 0.6251 GB, free: 3.066 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.5543, allocations: 51.41 kB / 0.6252 GB, free: 3.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.5544, allocations: 109.8 kB / 0.6253 GB, free: 2.887 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.5544, allocations: 29.7 kB / 0.6253 GB, free: 2.852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.5545, allocations: 104.3 kB / 0.6254 GB, free: 2.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.5546, allocations: 67.03 kB / 0.6255 GB, free: 2.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.5547, allocations: 45.69 kB / 0.6255 GB, free: 2.629 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5548, allocations: 322.8 kB / 0.6258 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.555, allocations: 91.95 kB / 0.6259 GB, free: 2.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.5553, allocations: 115.4 kB / 0.626 GB, free: 2.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.5558, allocations: 238.7 kB / 0.6262 GB, free: 1.848 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5558, allocations: 0 / 0.6262 GB, free: 1.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00072/0.5565, allocations: 290.1 kB / 0.6265 GB, free: 1.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5565, allocations: 11.94 kB / 0.6265 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5566, allocations: 0 / 0.6265 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.5567, allocations: 24.84 kB / 0.6266 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.5572, allocations: 57.08 kB / 0.6266 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003601/0.5576, allocations: 0.5369 MB / 0.6271 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.5579, allocations: 11.97 kB / 0.6271 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.558, allocations: 11.98 kB / 0.6272 GB, free: 0.875 MB / 462.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.000125/0.5581, allocations: 121.8 kB / 0.6273 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.5582, allocations: 11.91 kB / 0.6273 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/0.559, allocations: 315.5 kB / 0.6276 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.559, allocations: 7.938 kB / 0.6276 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.559, allocations: 0 / 0.6276 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.559, allocations: 0 / 0.6276 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.5602, allocations: 0.6739 MB / 0.6283 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.5602, allocations: 4.875 kB / 0.6283 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.5607, allocations: 51.95 kB / 0.6283 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.445e-05/0.5608, allocations: 20.94 kB / 0.6283 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.5608, allocations: 11.98 kB / 0.6283 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009681/0.5618, allocations: 1.368 MB / 0.6297 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5618, allocations: 0 / 0.6297 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008719/0.5627, allocations: 450.8 kB / 0.6301 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.5627, allocations: 88.95 kB / 0.6302 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.5628, allocations: 8 kB / 0.6302 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.5632, allocations: 7.984 kB / 0.6302 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.5632, allocations: 20.05 kB / 0.6302 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.5632, allocations: 7.984 kB / 0.6302 GB, free: 13.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.5633, allocations: 91.27 kB / 0.6303 GB, free: 13.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.5633, allocations: 3.938 kB / 0.6303 GB, free: 13.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.5638, allocations: 135.9 kB / 0.6305 GB, free: 13.23 MB / 478.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.001719/0.5656, allocations: 1.136 MB / 0.6316 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006521/0.5662, allocations: 240.8 kB / 0.6318 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.5662, allocations: 4.188 kB / 0.6318 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.5667, allocations: 238.5 kB / 0.632 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.5672, allocations: 50.59 kB / 0.6321 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.571, allocations: 2.132 MB / 0.6342 GB, free: 9.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.5714, allocations: 0.7046 MB / 0.6348 GB, free: 8.543 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004432/0.5719, allocations: 53.33 kB / 0.6349 GB, free: 8.492 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.5721, allocations: 35.42 kB / 0.6349 GB, free: 8.457 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5721, allocations: 4 kB / 0.6349 GB, free: 8.453 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.603, allocations: 7.907 MB / 0.6427 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.26, allocations: 7.875 kB / 0.6427 GB, free: 0.6367 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/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_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches