Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.241/0.241, allocations: 46.97 MB / 361.6 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.p|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.",fileNamePrefix="ModelicaTest_4.1.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.p|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.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 71.89 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 66.04 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2072/0.5462, allocations: 156.4 MB / 0.7145 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.5569, allocations: 5.967 MB / 0.7204 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000743/0.5576, allocations: 27.75 kB / 0.7204 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.559, allocations: 405.7 kB / 0.7208 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005239/0.5642, allocations: 1.803 MB / 0.7225 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.5684, allocations: 1.538 MB / 0.724 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.572, allocations: 2.258 MB / 0.7262 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.5732, allocations: 0.5941 MB / 0.7268 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004258/0.5775, allocations: 1.842 MB / 0.7286 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.5808, allocations: 1.644 MB / 0.7302 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004316/0.5813, allocations: 100 kB / 0.7303 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.5844, allocations: 1.177 MB / 0.7315 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009894/0.5854, allocations: 0.6936 MB / 0.7322 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.5868, allocations: 0.6423 MB / 0.7328 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004769/0.5916, allocations: 2.636 MB / 0.7354 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5916, allocations: 0 / 0.7354 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5916, allocations: 0 / 0.7354 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.695e-05/0.5916, allocations: 0 / 0.7354 GB, free: 1.812 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.005051/0.5967, allocations: 1.665 MB / 0.737 GB, free: 112 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5967, allocations: 8.031 kB / 0.737 GB, free: 104 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2637/0.8605, allocations: 312 kB / 0.7373 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.8624, allocations: 0.7178 MB / 0.738 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.8626, allocations: 192.6 kB / 0.7382 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.8628, allocations: 115.4 kB / 0.7383 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.8659, allocations: 2.548 MB / 0.7408 GB, free: 174 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.8659, allocations: 11.81 kB / 0.7408 GB, free: 174 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.866, allocations: 44.42 kB / 0.7408 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.662e-05/0.8661, allocations: 91.48 kB / 0.7409 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.8683, allocations: 1.694 MB / 0.7426 GB, free: 173.3 MB / 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.006961/0.8753, allocations: 4.802 MB / 0.7473 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.8763, allocations: 0.8495 MB / 0.7481 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/0.8768, allocations: 435 kB / 0.7485 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.411e-05/0.8769, allocations: 28.45 kB / 0.7485 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.8769, allocations: 45.88 kB / 0.7486 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.515e-06/0.8769, allocations: 4 kB / 0.7486 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.009243/0.8862, allocations: 4.012 MB / 0.7525 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.8862, allocations: 107.5 kB / 0.7526 GB, free: 163 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006289/0.8868, allocations: 0.7028 MB / 0.7533 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.519e-05/0.8869, allocations: 45.7 kB / 0.7533 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.8871, allocations: 0.5621 MB / 0.7539 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.8873, allocations: 269.5 kB / 0.7541 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.8875, allocations: 210.5 kB / 0.7543 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.8876, allocations: 386.8 kB / 0.7547 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007104/0.8883, allocations: 0.5875 MB / 0.7553 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008132/0.8891, allocations: 0.9184 MB / 0.7562 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.8906, allocations: 1.45 MB / 0.7576 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.8906, allocations: 4 kB / 0.7576 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002422/0.893, allocations: 1.949 MB / 0.7595 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8931, allocations: 8 kB / 0.7595 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8931, allocations: 8.859 kB / 0.7595 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004262/0.8973, allocations: 1.356 MB / 0.7608 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/0.8979, allocations: 143.6 kB / 0.761 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.9002, allocations: 1.924 MB / 0.7628 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.9011, allocations: 45.03 kB / 0.7629 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.9012, allocations: 63.98 kB / 0.763 GB, free: 152.2 MB / 0.5606 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.0005918/0.9017, allocations: 412.3 kB / 0.7633 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.9019, allocations: 83.53 kB / 0.7634 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.904, allocations: 1.463 MB / 0.7649 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.904, allocations: 11.94 kB / 0.7649 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.904, allocations: 3.938 kB / 0.7649 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-06/0.904, allocations: 3.984 kB / 0.7649 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/0.9074, allocations: 2.373 MB / 0.7672 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.9075, allocations: 3.938 kB / 0.7672 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.9092, allocations: 324.5 kB / 0.7675 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.9093, allocations: 64.78 kB / 0.7676 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.393e-05/0.9094, allocations: 43.72 kB / 0.7676 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.9113, allocations: 2.772 MB / 0.7703 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.9113, allocations: 3.938 kB / 0.7703 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.9137, allocations: 1.877 MB / 0.7722 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.9144, allocations: 223.3 kB / 0.7724 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.9145, allocations: 27.78 kB / 0.7724 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/0.9153, allocations: 55.88 kB / 0.7724 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.9154, allocations: 64.48 kB / 0.7725 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.891e-05/0.9155, allocations: 59.95 kB / 0.7726 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004751/0.916, allocations: 0.4912 MB / 0.773 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.916, allocations: 0 / 0.773 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001245/0.9172, allocations: 475.5 kB / 0.7735 GB, free: 141.2 MB / 0.5606 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.001455/0.9187, allocations: 0.6756 MB / 0.7742 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.9209, allocations: 1.403 MB / 0.7755 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9209, allocations: 8.297 kB / 0.7755 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.9222, allocations: 0.8262 MB / 0.7763 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.9242, allocations: 468.5 kB / 0.7768 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.9284, allocations: 2.959 MB / 0.7797 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.9289, allocations: 0.5742 MB / 0.7802 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.9293, allocations: 99.41 kB / 0.7803 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.9293, allocations: 0 / 0.7803 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.0278/0.9571, allocations: 28.24 MB / 0.8079 GB, free: 106 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 13.05088129080832]