Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 112.4 kB / 21.1 MB, free: 0.7461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 187.5 kB / 24.36 MB, free: 4.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 253.1 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 44.91 MB / 353.2 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 59.91 kB / 497.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4794, allocations: 64.29 MB / 0.5484 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3006/0.78, allocations: 175.5 MB / 0.7198 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.7916, allocations: 6.49 MB / 0.7262 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.7928, allocations: 27.75 kB / 0.7262 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.7944, allocations: 453.5 kB / 0.7266 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005429/0.7998, allocations: 1.815 MB / 0.7284 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004938/0.8047, allocations: 1.565 MB / 0.7299 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003922/0.8087, allocations: 2.259 MB / 0.7321 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.8102, allocations: 0.5903 MB / 0.7327 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/0.8151, allocations: 1.803 MB / 0.7345 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4111/1.226, allocations: 1.644 MB / 0.7361 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004284/1.227, allocations: 100.2 kB / 0.7362 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/1.23, allocations: 1.19 MB / 0.7373 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008007/1.231, allocations: 0.6996 MB / 0.738 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/1.232, allocations: 0.7578 MB / 0.7387 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003787/1.236, allocations: 2.625 MB / 0.7413 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.236, allocations: 0.9688 kB / 0.7413 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.754e-06/1.236, allocations: 0 / 0.7413 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.147e-05/1.236, allocations: 0.9375 kB / 0.7413 GB, free: 5.184 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003509/1.239, allocations: 1.677 MB / 0.7429 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.239, allocations: 13.08 kB / 0.743 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/1.241, allocations: 312.3 kB / 0.7433 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/1.242, allocations: 0.7233 MB / 0.744 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/1.242, allocations: 193.2 kB / 0.7441 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/1.242, allocations: 108.5 kB / 0.7443 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/1.245, allocations: 2.57 MB / 0.7468 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/1.245, allocations: 2.688 kB / 0.7468 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/1.245, allocations: 47.59 kB / 0.7468 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.982e-05/1.245, allocations: 101.8 kB / 0.7469 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/1.247, allocations: 1.691 MB / 0.7486 GB, free: 18.92 MB / 0.5762 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.00907/1.257, allocations: 6.584 MB / 0.755 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/1.258, allocations: 0.8634 MB / 0.7558 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000636/1.259, allocations: 439.6 kB / 0.7562 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/1.259, allocations: 29.78 kB / 0.7563 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/1.259, allocations: 48.12 kB / 0.7563 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.155e-06/1.259, allocations: 2.156 kB / 0.7563 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01043/1.269, allocations: 4.056 MB / 0.7603 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/1.269, allocations: 112.2 kB / 0.7604 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/1.27, allocations: 1.117 MB / 0.7615 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/1.271, allocations: 46.23 kB / 0.7615 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/1.271, allocations: 0.5308 MB / 0.762 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/1.271, allocations: 277 kB / 0.7623 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/1.271, allocations: 210.6 kB / 0.7625 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.272, allocations: 347.1 kB / 0.7628 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008026/1.272, allocations: 0.5835 MB / 0.7634 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009936/1.273, allocations: 0.9191 MB / 0.7643 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.275, allocations: 1.449 MB / 0.7657 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.275, allocations: 6.781 kB / 0.7657 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002877/1.278, allocations: 1.976 MB / 0.7677 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.278, allocations: 15.41 kB / 0.7677 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.278, allocations: 9.609 kB / 0.7677 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004272/1.282, allocations: 1.349 MB / 0.769 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/1.283, allocations: 145.8 kB / 0.7691 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/1.285, allocations: 1.922 MB / 0.771 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009615/1.286, allocations: 45.66 kB / 0.7711 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.286, allocations: 68.91 kB / 0.7711 GB, free: 12.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0006504/1.287, allocations: 397.7 kB / 0.7715 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/1.287, allocations: 118.8 kB / 0.7716 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/1.29, allocations: 1.498 MB / 0.7731 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/1.29, allocations: 9.562 kB / 0.7731 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/1.29, allocations: 4.906 kB / 0.7731 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.29, allocations: 2.625 kB / 0.7731 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/1.294, allocations: 2.647 MB / 0.7757 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.294, allocations: 0.75 kB / 0.7757 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/1.295, allocations: 326.9 kB / 0.776 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/1.296, allocations: 70 kB / 0.7761 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.988e-05/1.296, allocations: 40.59 kB / 0.7761 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/1.298, allocations: 2.825 MB / 0.7789 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.298, allocations: 6.344 kB / 0.7789 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/1.301, allocations: 1.907 MB / 0.7807 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007854/1.302, allocations: 260.5 kB / 0.781 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/1.302, allocations: 33.92 kB / 0.781 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008603/1.303, allocations: 49.73 kB / 0.7811 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/1.303, allocations: 62.03 kB / 0.7811 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.303, allocations: 64.31 kB / 0.7812 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001029/1.304, allocations: 0.7939 MB / 0.782 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.304, allocations: 0 / 0.782 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001771/1.306, allocations: 484.1 kB / 0.7824 GB, free: 9.016 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.001806/1.308, allocations: 0.6833 MB / 0.7831 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002393/1.31, allocations: 1.428 MB / 0.7845 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.31, allocations: 2.578 kB / 0.7845 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.312, allocations: 0.841 MB / 0.7853 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/1.315, allocations: 0.7595 MB / 0.786 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/1.32, allocations: 2.949 MB / 0.7889 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.321, allocations: 1.178 MB / 0.7901 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001839/1.323, allocations: 483.2 kB / 0.7905 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/1.323, allocations: 116.7 kB / 0.7906 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of SimCode: time 1.523e-06/1.323, allocations: 0 / 0.7906 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of Templates: time 0.07241/1.396, allocations: 40.23 MB / 0.8299 GB, free: 4.977 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.119306404143572]