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.00109/0.00109, allocations: 106 kB / 18.45 MB, free: 4.625 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.001061/0.001061, allocations: 182.3 kB / 19.37 MB, free: 3.707 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.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2133/0.2133, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3923, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2078/0.6002, allocations: 177.3 MB / 0.6927 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009809/0.61, allocations: 6.511 MB / 0.699 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009841/0.611, allocations: 19.88 kB / 0.6991 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.6125, allocations: 413.6 kB / 0.6995 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.6175, allocations: 1.734 MB / 0.7012 GB, free: 1.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.6216, allocations: 1.489 MB / 0.7026 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003122/0.6247, allocations: 2.107 MB / 0.7047 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.6258, allocations: 0.544 MB / 0.7052 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0039/0.6297, allocations: 1.713 MB / 0.7069 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0029/0.6326, allocations: 1.46 MB / 0.7083 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.6329, allocations: 76 kB / 0.7084 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.636, allocations: 1.312 MB / 0.7096 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006035/0.6367, allocations: 446.8 kB / 0.7101 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.6378, allocations: 0.5562 MB / 0.7106 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.6415, allocations: 2.069 MB / 0.7126 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6415, allocations: 4 kB / 0.7126 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6415, allocations: 0 / 0.7126 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.5e-05/0.6416, allocations: 0 / 0.7126 GB, free: 5.641 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.003709/0.6453, allocations: 1.449 MB / 0.7141 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.6453, allocations: 16.03 kB / 0.7141 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.6469, allocations: 266.6 kB / 0.7143 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.6481, allocations: 0.6441 MB / 0.715 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.6483, allocations: 116.7 kB / 0.7151 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.6484, allocations: 60 kB / 0.7151 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.6505, allocations: 1.267 MB / 0.7164 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.6506, allocations: 3.938 kB / 0.7164 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.6507, allocations: 35.98 kB / 0.7164 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.6508, allocations: 85.2 kB / 0.7165 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.6525, allocations: 1.051 MB / 0.7175 GB, free: 492 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.3171/0.9696, allocations: 4.931 MB / 0.7223 GB, free: 47.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005316/0.9702, allocations: 308.7 kB / 0.7226 GB, free: 47.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.9704, allocations: 147 kB / 0.7228 GB, free: 47.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.488e-05/0.9705, allocations: 99.97 kB / 0.7229 GB, free: 47.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.9705, allocations: 40.84 kB / 0.7229 GB, free: 47.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.9705, allocations: 0.875 kB / 0.7229 GB, free: 47.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006379/0.9769, allocations: 1.822 MB / 0.7247 GB, free: 46.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.977, allocations: 136.3 kB / 0.7248 GB, free: 46.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.9781, allocations: 0.9364 MB / 0.7257 GB, free: 46.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.9782, allocations: 32.52 kB / 0.7257 GB, free: 46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.9785, allocations: 0.5696 MB / 0.7263 GB, free: 45.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/0.9786, allocations: 126.2 kB / 0.7264 GB, free: 45.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.9789, allocations: 220.9 kB / 0.7266 GB, free: 45.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.979, allocations: 401.4 kB / 0.727 GB, free: 45.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.9794, allocations: 274.5 kB / 0.7273 GB, free: 45.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.9801, allocations: 0.8622 MB / 0.7281 GB, free: 44.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.9813, allocations: 1.183 MB / 0.7293 GB, free: 43.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.9813, allocations: 5.969 kB / 0.7293 GB, free: 43.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001941/0.9832, allocations: 1.243 MB / 0.7305 GB, free: 43.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.9833, allocations: 16.25 kB / 0.7305 GB, free: 43.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/0.9833, allocations: 20.72 kB / 0.7305 GB, free: 43.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.9846, allocations: 294.6 kB / 0.7308 GB, free: 43.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.9852, allocations: 205.1 kB / 0.731 GB, free: 43.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009782/0.9862, allocations: 0.9158 MB / 0.7319 GB, free: 43.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/0.9869, allocations: 46.94 kB / 0.7319 GB, free: 43.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/0.987, allocations: 66.94 kB / 0.732 GB, free: 43.18 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.0004242/0.9875, allocations: 343.7 kB / 0.7323 GB, free: 43.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.9876, allocations: 89.72 kB / 0.7324 GB, free: 43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009588/0.9886, allocations: 0.5194 MB / 0.7329 GB, free: 42.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.9886, allocations: 3.031 kB / 0.7329 GB, free: 42.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.9886, allocations: 2.531 kB / 0.7329 GB, free: 42.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.9886, allocations: 2.953 kB / 0.7329 GB, free: 42.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.9903, allocations: 1.125 MB / 0.734 GB, free: 42.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9903, allocations: 1.281 kB / 0.734 GB, free: 42.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/0.9912, allocations: 187.5 kB / 0.7342 GB, free: 42.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.438e-05/0.9913, allocations: 24.98 kB / 0.7342 GB, free: 42.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.9913, allocations: 9.281 kB / 0.7343 GB, free: 42.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.9928, allocations: 2.875 MB / 0.7371 GB, free: 39.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.9928, allocations: 3.375 kB / 0.7371 GB, free: 39.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.9939, allocations: 0.7046 MB / 0.7377 GB, free: 39.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.9941, allocations: 200 kB / 0.7379 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.9942, allocations: 5.5 kB / 0.7379 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.9947, allocations: 23.05 kB / 0.738 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.9947, allocations: 26.19 kB / 0.738 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.9948, allocations: 20.66 kB / 0.738 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006703/0.9955, allocations: 0.6231 MB / 0.7386 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9955, allocations: 0 / 0.7386 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001313/0.9968, allocations: 382.1 kB / 0.739 GB, free: 39.38 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/0.9984, allocations: 0.6392 MB / 0.7396 GB, free: 39.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.9996, allocations: 0.6725 MB / 0.7403 GB, free: 39.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.9996, allocations: 1.828 kB / 0.7403 GB, free: 39.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/1, allocations: 357.2 kB / 0.7406 GB, free: 39.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.002, allocations: 422 kB / 0.741 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/1.004, allocations: 1.669 MB / 0.7426 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/1.005, allocations: 1.027 MB / 0.7436 GB, free: 37.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/1.005, allocations: 90.58 kB / 0.7437 GB, free: 37.77 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/1.005, allocations: 0 / 0.7437 GB, free: 37.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.02522/1.03, allocations: 22.77 MB / 0.766 GB, free: 31.9 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/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