Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001671/0.001671, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001974/0.001974, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.95 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 79.88 kB / 0.4974 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.346, allocations: 66.09 MB / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2143/0.5604, allocations: 156.4 MB / 0.7146 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.5748, allocations: 5.964 MB / 0.7205 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009287/0.5757, allocations: 27.69 kB / 0.7205 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.5776, allocations: 409.6 kB / 0.7209 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006956/0.5845, allocations: 1.797 MB / 0.7226 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006028/0.5905, allocations: 1.541 MB / 0.7241 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00439/0.5949, allocations: 2.254 MB / 0.7263 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.5966, allocations: 0.5981 MB / 0.7269 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005847/0.6024, allocations: 1.838 MB / 0.7287 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004588/0.607, allocations: 1.648 MB / 0.7303 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003961/0.6074, allocations: 100 kB / 0.7304 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.6114, allocations: 1.176 MB / 0.7316 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.6126, allocations: 0.6936 MB / 0.7322 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.614, allocations: 0.6461 MB / 0.7329 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005786/0.6198, allocations: 2.629 MB / 0.7354 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6198, allocations: 0 / 0.7354 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6198, allocations: 0 / 0.7354 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.166e-05/0.6198, allocations: 4 kB / 0.7355 GB, free: 1.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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.244/0.8638, allocations: 1.66 MB / 0.7371 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.8639, allocations: 10.09 kB / 0.7371 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.866, allocations: 320.1 kB / 0.7374 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.8679, allocations: 0.7153 MB / 0.7381 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.8681, allocations: 193.5 kB / 0.7383 GB, free: 175 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.8683, allocations: 110.8 kB / 0.7384 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.8715, allocations: 2.549 MB / 0.7409 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.8715, allocations: 12.08 kB / 0.7409 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.8716, allocations: 43.91 kB / 0.7409 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-05/0.8717, allocations: 89.33 kB / 0.741 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.8739, allocations: 1.694 MB / 0.7427 GB, free: 172.4 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.007109/0.881, allocations: 4.805 MB / 0.7474 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.8821, allocations: 0.8381 MB / 0.7482 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.8826, allocations: 439 kB / 0.7486 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.8826, allocations: 24.48 kB / 0.7486 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.8827, allocations: 47.06 kB / 0.7487 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.906e-06/0.8827, allocations: 11.19 kB / 0.7487 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.00923/0.8919, allocations: 4.016 MB / 0.7526 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.8919, allocations: 111.5 kB / 0.7527 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.8926, allocations: 0.7001 MB / 0.7534 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.242e-05/0.8927, allocations: 41.7 kB / 0.7534 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.8929, allocations: 0.5581 MB / 0.754 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.893, allocations: 273.2 kB / 0.7542 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.8933, allocations: 210.5 kB / 0.7544 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.8934, allocations: 390.4 kB / 0.7548 GB, free: 160 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.8941, allocations: 0.5875 MB / 0.7554 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/0.8949, allocations: 0.9198 MB / 0.7563 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.8964, allocations: 1.45 MB / 0.7577 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8964, allocations: 4 kB / 0.7577 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00245/0.8989, allocations: 1.949 MB / 0.7596 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.8989, allocations: 11.98 kB / 0.7596 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.8989, allocations: 15.94 kB / 0.7596 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004169/0.9031, allocations: 1.347 MB / 0.7609 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.9037, allocations: 143.8 kB / 0.7611 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.906, allocations: 1.916 MB / 0.7629 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008592/0.9068, allocations: 43.97 kB / 0.763 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.907, allocations: 67.02 kB / 0.763 GB, free: 151.4 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.0005716/0.9075, allocations: 409.6 kB / 0.7634 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.9078, allocations: 83.47 kB / 0.7635 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.9099, allocations: 1.473 MB / 0.765 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.9099, allocations: 12.5 kB / 0.765 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.9099, allocations: 0 / 0.765 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.9099, allocations: 3.984 kB / 0.765 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.9135, allocations: 2.372 MB / 0.7673 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.9135, allocations: 4 kB / 0.7673 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.9151, allocations: 327.5 kB / 0.7676 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.9153, allocations: 68.78 kB / 0.7677 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.9154, allocations: 27.98 kB / 0.7677 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.917, allocations: 2.786 MB / 0.7704 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.917, allocations: 0 / 0.7704 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.9194, allocations: 1.889 MB / 0.7723 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.9201, allocations: 215.4 kB / 0.7725 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.9203, allocations: 27.98 kB / 0.7725 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008791/0.9212, allocations: 51.89 kB / 0.7725 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.9213, allocations: 64.53 kB / 0.7726 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.9215, allocations: 59.95 kB / 0.7727 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005521/0.922, allocations: 0.4933 MB / 0.7731 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.922, allocations: 0 / 0.7731 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001355/0.9234, allocations: 479.5 kB / 0.7736 GB, free: 140.3 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.001622/0.925, allocations: 0.6604 MB / 0.7742 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002255/0.9273, allocations: 1.412 MB / 0.7756 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.9273, allocations: 15.23 kB / 0.7756 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.9287, allocations: 0.8222 MB / 0.7764 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.9307, allocations: 461.2 kB / 0.7769 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.9353, allocations: 2.96 MB / 0.7798 GB, free: 134 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.9359, allocations: 0.5781 MB / 0.7803 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.9363, allocations: 99.41 kB / 0.7804 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.9363, allocations: 3.938 kB / 0.7804 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.0296/0.9659, allocations: 28.25 MB / 0.808 GB, free: 105.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.338544835802168]