Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 108.8 kB / 17.78 MB, free: 5.27 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.00144/0.00144, allocations: 184.8 kB / 18.71 MB, free: 4.348 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.4 MB, free: 15.08 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.222/0.222, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4365, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2146/0.6511, allocations: 177.3 MB / 0.692 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009161/0.6604, allocations: 6.51 MB / 0.6984 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007823/0.6612, allocations: 19.88 kB / 0.6984 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.6624, allocations: 433.6 kB / 0.6988 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004688/0.6672, allocations: 1.763 MB / 0.7005 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004281/0.6715, allocations: 1.483 MB / 0.702 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002697/0.6742, allocations: 2.114 MB / 0.7041 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.6753, allocations: 0.5479 MB / 0.7046 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/0.6793, allocations: 1.717 MB / 0.7063 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.6825, allocations: 1.468 MB / 0.7077 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003053/0.6828, allocations: 76 kB / 0.7078 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.6861, allocations: 1.31 MB / 0.7091 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006658/0.6868, allocations: 442.9 kB / 0.7095 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.688, allocations: 0.5523 MB / 0.71 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.6921, allocations: 2.072 MB / 0.712 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6921, allocations: 0 / 0.712 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6921, allocations: 4 kB / 0.712 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.113e-05/0.6922, allocations: 0 / 0.712 GB, free: 5.613 MB / 0.5606 GB 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.003137/0.6953, allocations: 1.445 MB / 0.7135 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.6954, allocations: 15.97 kB / 0.7135 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.6968, allocations: 274.6 kB / 0.7137 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.698, allocations: 0.6441 MB / 0.7144 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.6981, allocations: 116.7 kB / 0.7145 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.6982, allocations: 63.98 kB / 0.7145 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.7001, allocations: 1.263 MB / 0.7158 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.7002, allocations: 7.938 kB / 0.7158 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.7003, allocations: 35.98 kB / 0.7158 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.7004, allocations: 77.27 kB / 0.7159 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.702, allocations: 1.051 MB / 0.7169 GB, free: 464 kB / 0.5606 GB 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.2935/0.9956, allocations: 4.932 MB / 0.7217 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.9961, allocations: 307.9 kB / 0.722 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.9964, allocations: 146.9 kB / 0.7222 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.518e-05/0.9965, allocations: 96.75 kB / 0.7222 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.9965, allocations: 39 kB / 0.7223 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.525e-06/0.9965, allocations: 0 / 0.7223 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006549/1.003, allocations: 1.82 MB / 0.7241 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/1.003, allocations: 133 kB / 0.7242 GB, free: 186 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/1.004, allocations: 0.9341 MB / 0.7251 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/1.004, allocations: 34.25 kB / 0.7251 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/1.005, allocations: 0.5691 MB / 0.7257 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/1.005, allocations: 133.2 kB / 0.7258 GB, free: 185 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/1.005, allocations: 220 kB / 0.726 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.005, allocations: 403.8 kB / 0.7264 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/1.006, allocations: 271.7 kB / 0.7267 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/1.007, allocations: 0.8719 MB / 0.7275 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.008, allocations: 1.172 MB / 0.7287 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.008, allocations: 5.25 kB / 0.7287 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001885/1.01, allocations: 1.245 MB / 0.7299 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.01, allocations: 14.2 kB / 0.7299 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/1.01, allocations: 23.41 kB / 0.7299 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/1.011, allocations: 296.5 kB / 0.7302 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/1.012, allocations: 207.3 kB / 0.7304 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000958/1.013, allocations: 0.915 MB / 0.7313 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/1.014, allocations: 44.8 kB / 0.7313 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-05/1.014, allocations: 69.84 kB / 0.7314 GB, free: 181.2 MB / 0.5606 GB 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 (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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004105/1.014, allocations: 346.4 kB / 0.7317 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/1.014, allocations: 98.19 kB / 0.7318 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009449/1.015, allocations: 0.5157 MB / 0.7323 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.015, allocations: 4.438 kB / 0.7323 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.015, allocations: 7.875 kB / 0.7323 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/1.015, allocations: 1.125 kB / 0.7323 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/1.017, allocations: 1.125 MB / 0.7334 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.017, allocations: 0 / 0.7334 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/1.018, allocations: 189.7 kB / 0.7336 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.713e-05/1.018, allocations: 22.94 kB / 0.7336 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/1.018, allocations: 11.39 kB / 0.7337 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.019, allocations: 2.865 MB / 0.7365 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.019, allocations: 5.031 kB / 0.7365 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008982/1.02, allocations: 0.7011 MB / 0.7371 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/1.02, allocations: 197.6 kB / 0.7373 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.02, allocations: 7.438 kB / 0.7373 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/1.021, allocations: 18.83 kB / 0.7374 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/1.021, allocations: 28.12 kB / 0.7374 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/1.021, allocations: 26.3 kB / 0.7374 GB, free: 176 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006984/1.022, allocations: 0.623 MB / 0.738 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.373e-06/1.022, allocations: 0 / 0.738 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001394/1.023, allocations: 386.4 kB / 0.7384 GB, free: 175.6 MB / 0.5606 GB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001557/1.025, allocations: 0.6228 MB / 0.739 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001212/1.026, allocations: 0.6755 MB / 0.7397 GB, free: 175 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.026, allocations: 1.219 kB / 0.7397 GB, free: 175 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008816/1.027, allocations: 368.6 kB / 0.74 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/1.029, allocations: 427.4 kB / 0.7404 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/1.031, allocations: 1.615 MB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/1.031, allocations: 1.03 MB / 0.743 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008085/1.032, allocations: 378.7 kB / 0.7434 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/1.032, allocations: 82.39 kB / 0.7434 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/1.032, allocations: 3.938 kB / 0.7434 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.02573/1.058, allocations: 21.83 MB / 0.7648 GB, free: 152.3 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches