Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002342/0.002347, allocations: 183.1 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 97.55 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5138/0.5138, allocations: 43.55 MB / 362.7 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006446, allocations: 15.98 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1302, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5512/0.6815, allocations: 144 MB / 0.6193 GB, free: 7.016 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.6988, allocations: 8.398 MB / 0.6275 GB, free: 14.6 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.6999, allocations: 27.75 kB / 0.6275 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.7014, allocations: 318.5 kB / 0.6278 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006556/0.708, allocations: 1.494 MB / 0.6293 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005379/0.7134, allocations: 1.226 MB / 0.6305 GB, free: 11.56 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.7163, allocations: 1.169 MB / 0.6316 GB, free: 10.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.7175, allocations: 474.3 kB / 0.6321 GB, free: 9.938 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.7219, allocations: 1.267 MB / 0.6333 GB, free: 8.668 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004735/0.7267, allocations: 1.321 MB / 0.6346 GB, free: 7.344 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.7271, allocations: 36 kB / 0.6347 GB, free: 7.309 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004513/0.7316, allocations: 1.217 MB / 0.6358 GB, free: 6.09 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008272/0.7325, allocations: 371 kB / 0.6362 GB, free: 5.727 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004806/0.733, allocations: 225.3 kB / 0.6364 GB, free: 5.5 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003976/0.737, allocations: 1.566 MB / 0.6379 GB, free: 3.934 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.737, allocations: 4 kB / 0.6379 GB, free: 3.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.737, allocations: 0 / 0.6379 GB, free: 3.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.7371, allocations: 0 / 0.6379 GB, free: 3.93 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004311/0.7414, allocations: 1.219 MB / 0.6391 GB, free: 2.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.7415, allocations: 12.02 kB / 0.6392 GB, free: 2.648 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.7439, allocations: 302.6 kB / 0.6394 GB, free: 2.352 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.7458, allocations: 0.5861 MB / 0.64 GB, free: 1.727 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.746, allocations: 108.7 kB / 0.6401 GB, free: 1.609 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.7463, allocations: 67.98 kB / 0.6402 GB, free: 1.543 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003305/0.7496, allocations: 1.256 MB / 0.6414 GB, free: 224 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.7497, allocations: 3.938 kB / 0.6414 GB, free: 220 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.7499, allocations: 35.98 kB / 0.6414 GB, free: 184 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.75, allocations: 81.27 kB / 0.6415 GB, free: 104 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/0.7531, allocations: 1.067 MB / 0.6426 GB, free: 15.03 MB / 474.7 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.0109/0.764, allocations: 4.862 MB / 0.6473 GB, free: 9.871 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.7648, allocations: 278.6 kB / 0.6476 GB, free: 9.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.7651, allocations: 125.7 kB / 0.6477 GB, free: 9.449 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.7651, allocations: 42.55 kB / 0.6477 GB, free: 9.398 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.384e-06/0.7651, allocations: 0 / 0.6477 GB, free: 9.398 MB / 474.7 MB Notification: Performance of matching and sorting (n=33): time 0.01067/0.7758, allocations: 1.746 MB / 0.6494 GB, free: 7.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.7759, allocations: 136.5 kB / 0.6496 GB, free: 7.406 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.7777, allocations: 0.9271 MB / 0.6505 GB, free: 6.453 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/0.7778, allocations: 37.64 kB / 0.6505 GB, free: 6.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/0.7783, allocations: 0.5892 MB / 0.6511 GB, free: 5.812 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.7785, allocations: 130.3 kB / 0.6512 GB, free: 5.684 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.7786, allocations: 24 kB / 0.6512 GB, free: 5.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.7788, allocations: 350.8 kB / 0.6516 GB, free: 5.309 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007674/0.7796, allocations: 274.4 kB / 0.6518 GB, free: 5.043 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.7808, allocations: 0.8522 MB / 0.6527 GB, free: 3.906 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.782, allocations: 455.3 kB / 0.6531 GB, free: 3.461 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.782, allocations: 8 kB / 0.6531 GB, free: 3.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00306/0.7851, allocations: 1.178 MB / 0.6543 GB, free: 2.266 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.7851, allocations: 16.03 kB / 0.6543 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/0.7852, allocations: 20 kB / 0.6543 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.7874, allocations: 287 kB / 0.6546 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.7885, allocations: 203.6 kB / 0.6548 GB, free: 1.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.7902, allocations: 0.9157 MB / 0.6557 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.7915, allocations: 59.92 kB / 0.6557 GB, free: 0.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.7917, allocations: 67.98 kB / 0.6558 GB, free: 0.6836 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006821/0.7924, allocations: 345.6 kB / 0.6561 GB, free: 344 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.7926, allocations: 94.88 kB / 0.6562 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.7941, allocations: 484.9 kB / 0.6567 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7942, allocations: 4 kB / 0.6567 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7942, allocations: 4 kB / 0.6567 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.7942, allocations: 5.547 kB / 0.6567 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.7969, allocations: 1.119 MB / 0.6578 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7969, allocations: 0 / 0.6578 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.7989, allocations: 187.8 kB / 0.6579 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.799, allocations: 24.84 kB / 0.658 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.7991, allocations: 8 kB / 0.658 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.8018, allocations: 2.699 MB / 0.6606 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.8018, allocations: 4.812 kB / 0.6606 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.8037, allocations: 0.7087 MB / 0.6613 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.8042, allocations: 204 kB / 0.6615 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.8044, allocations: 4 kB / 0.6615 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/0.8053, allocations: 31.88 kB / 0.6615 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.8054, allocations: 27.91 kB / 0.6616 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.8055, allocations: 19.98 kB / 0.6616 GB, free: 10.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001287/0.8068, allocations: 0.6243 MB / 0.6622 GB, free: 9.703 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8068, allocations: 0 / 0.6622 GB, free: 9.703 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002042/0.8089, allocations: 419.9 kB / 0.6626 GB, free: 9.293 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003128/0.812, allocations: 0.6332 MB / 0.6632 GB, free: 8.664 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.8143, allocations: 0.6686 MB / 0.6639 GB, free: 8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.8143, allocations: 0 / 0.6639 GB, free: 8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.8159, allocations: 360.2 kB / 0.6642 GB, free: 7.637 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/0.8194, allocations: 410.5 kB / 0.6646 GB, free: 7.242 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.8237, allocations: 1.955 MB / 0.6665 GB, free: 5.246 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/0.8247, allocations: 1.04 MB / 0.6675 GB, free: 4.176 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.8251, allocations: 87.42 kB / 0.6676 GB, free: 4.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/0.8252, allocations: 0 / 0.6676 GB, free: 4.09 MB / 490.7 MB Notification: Performance of Templates: time 0.3681/1.193, allocations: 23.09 MB / 0.6902 GB, free: 143.6 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches