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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 105.5 kB / 19.81 MB, free: 2.516 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.001623/0.001623, allocations: 189.8 kB / 22.97 MB, free: 5.617 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.455/1.455, allocations: 225.6 MB / 251.6 MB, free: 13.35 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.2281/0.2281, allocations: 44.92 MB / 351.6 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 67.89 kB / 495.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4495, allocations: 64.24 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2479/0.6974, allocations: 178.1 MB / 0.7203 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.708, allocations: 6.554 MB / 0.7267 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009709/0.709, allocations: 19.88 kB / 0.7267 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.7107, allocations: 433.6 kB / 0.7271 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.7161, allocations: 1.764 MB / 0.7288 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004783/0.7209, allocations: 1.491 MB / 0.7303 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004661/0.7255, allocations: 2.122 MB / 0.7324 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.7267, allocations: 485.1 kB / 0.7328 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4439/1.171, allocations: 1.717 MB / 0.7345 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/1.174, allocations: 1.527 MB / 0.736 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/1.174, allocations: 76.06 kB / 0.7361 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/1.177, allocations: 1.362 MB / 0.7374 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007366/1.178, allocations: 455.4 kB / 0.7378 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/1.179, allocations: 0.5558 MB / 0.7384 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003371/1.183, allocations: 2.074 MB / 0.7404 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.183, allocations: 0 / 0.7404 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/1.183, allocations: 0 / 0.7404 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.522e-05/1.183, allocations: 0 / 0.7404 GB, free: 4.102 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.003318/1.186, allocations: 1.481 MB / 0.7418 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.186, allocations: 8.812 kB / 0.7419 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/1.187, allocations: 291 kB / 0.7421 GB, free: 19.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/1.189, allocations: 0.6372 MB / 0.7428 GB, free: 19.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/1.189, allocations: 116.4 kB / 0.7429 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.189, allocations: 65.56 kB / 0.7429 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/1.19, allocations: 1.262 MB / 0.7442 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/1.19, allocations: 1.812 kB / 0.7442 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.191, allocations: 35.91 kB / 0.7442 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.643e-05/1.191, allocations: 90.45 kB / 0.7443 GB, free: 18.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/1.192, allocations: 1.05 MB / 0.7453 GB, free: 18.74 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.006924/1.199, allocations: 4.943 MB / 0.7501 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/1.199, allocations: 296.4 kB / 0.7504 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/1.2, allocations: 140.9 kB / 0.7506 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/1.2, allocations: 97.44 kB / 0.7506 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/1.2, allocations: 42.59 kB / 0.7507 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/1.2, allocations: 0.75 kB / 0.7507 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.006429/1.206, allocations: 1.838 MB / 0.7525 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.206, allocations: 132 kB / 0.7526 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.207, allocations: 0.936 MB / 0.7535 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/1.207, allocations: 31.86 kB / 0.7536 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/1.208, allocations: 0.5896 MB / 0.7541 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/1.208, allocations: 136.9 kB / 0.7543 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/1.208, allocations: 223.7 kB / 0.7545 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002493/1.208, allocations: 398.8 kB / 0.7549 GB, free: 14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/1.209, allocations: 279.1 kB / 0.7551 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008006/1.21, allocations: 0.8647 MB / 0.756 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/1.211, allocations: 1.175 MB / 0.7571 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.211, allocations: 8.844 kB / 0.7571 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002038/1.213, allocations: 1.24 MB / 0.7583 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/1.213, allocations: 17.09 kB / 0.7583 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.213, allocations: 21.28 kB / 0.7584 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/1.214, allocations: 289 kB / 0.7586 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/1.215, allocations: 203.8 kB / 0.7588 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/1.216, allocations: 0.9194 MB / 0.7597 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/1.217, allocations: 49.78 kB / 0.7598 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.97e-05/1.217, allocations: 66.06 kB / 0.7598 GB, free: 11.9 MB / 0.5762 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.0007353/1.218, allocations: 343.1 kB / 0.7602 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/1.218, allocations: 97.92 kB / 0.7603 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/1.219, allocations: 0.514 MB / 0.7608 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/1.219, allocations: 9.562 kB / 0.7608 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.219, allocations: 0 / 0.7608 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.219, allocations: 3.672 kB / 0.7608 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/1.221, allocations: 1.128 MB / 0.7619 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.221, allocations: 1.094 kB / 0.7619 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009068/1.222, allocations: 184.6 kB / 0.7621 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.141e-05/1.222, allocations: 22.88 kB / 0.7621 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/1.222, allocations: 10.78 kB / 0.7621 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/1.224, allocations: 2.881 MB / 0.7649 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.224, allocations: 3.594 kB / 0.7649 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/1.225, allocations: 0.705 MB / 0.7656 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/1.226, allocations: 196.8 kB / 0.7658 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.226, allocations: 12.25 kB / 0.7658 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/1.226, allocations: 17.16 kB / 0.7658 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/1.226, allocations: 26.83 kB / 0.7658 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/1.226, allocations: 19.84 kB / 0.7659 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007648/1.227, allocations: 0.6239 MB / 0.7665 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.227, allocations: 0 / 0.7665 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001459/1.229, allocations: 383.1 kB / 0.7668 GB, free: 8.062 MB / 0.5762 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.001726/1.23, allocations: 0.6441 MB / 0.7675 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001343/1.232, allocations: 0.6547 MB / 0.7681 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.232, allocations: 1.016 kB / 0.7681 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008932/1.233, allocations: 372.2 kB / 0.7685 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/1.234, allocations: 422.8 kB / 0.7689 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/1.237, allocations: 1.639 MB / 0.7705 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/1.238, allocations: 1.031 MB / 0.7715 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009735/1.239, allocations: 380.3 kB / 0.7718 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/1.239, allocations: 79.09 kB / 0.7719 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/1.239, allocations: 0 / 0.7719 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of Templates: time 0.03869/1.278, allocations: 22.26 MB / 0.7936 GB, free: 0.668 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.947232154197991]