Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001349/0.001349, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001983/0.001983, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.2482/0.2482, allocations: 46.97 MB / 361.6 MB, free: 4.09 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 0.4973 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3093, allocations: 66.04 MB / 0.5618 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2067/0.516, allocations: 156.5 MB / 0.7147 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009076/0.5251, allocations: 5.974 MB / 0.7205 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006048/0.5257, allocations: 27.75 kB / 0.7205 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.5268, allocations: 385.7 kB / 0.7209 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.5312, allocations: 1.808 MB / 0.7227 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.5353, allocations: 1.515 MB / 0.7241 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002738/0.538, allocations: 2.134 MB / 0.7262 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007879/0.5388, allocations: 489.3 kB / 0.7267 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.5427, allocations: 1.799 MB / 0.7285 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002852/0.5456, allocations: 1.554 MB / 0.73 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.5458, allocations: 76 kB / 0.73 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.5483, allocations: 1.173 MB / 0.7312 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.5488, allocations: 446.7 kB / 0.7316 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.5494, allocations: 478.2 kB / 0.7321 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.5522, allocations: 2.072 MB / 0.7341 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5522, allocations: 0 / 0.7341 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5522, allocations: 3.938 kB / 0.7341 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.5522, allocations: 0 / 0.7341 GB, free: 3.078 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.003143/0.5553, allocations: 1.399 MB / 0.7355 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5554, allocations: 12.03 kB / 0.7355 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.5568, allocations: 291.1 kB / 0.7358 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.5581, allocations: 0.5751 MB / 0.7363 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.5583, allocations: 168.1 kB / 0.7365 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.5584, allocations: 67.98 kB / 0.7365 GB, free: 496 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2603/0.8187, allocations: 1.972 MB / 0.7385 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.8188, allocations: 1.531 kB / 0.7385 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.8189, allocations: 31.53 kB / 0.7385 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.8191, allocations: 80.86 kB / 0.7386 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.8216, allocations: 1.056 MB / 0.7396 GB, free: 174.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.006144/0.8278, allocations: 3.856 MB / 0.7434 GB, free: 172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.8283, allocations: 299.6 kB / 0.7437 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.8285, allocations: 137.8 kB / 0.7438 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.481e-05/0.8285, allocations: 17.27 kB / 0.7438 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.8286, allocations: 42.5 kB / 0.7438 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 3.026e-06/0.8286, allocations: 0 / 0.7438 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00571/0.8343, allocations: 1.75 MB / 0.7456 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.8343, allocations: 132.5 kB / 0.7457 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.835, allocations: 0.8377 MB / 0.7465 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.835, allocations: 33.67 kB / 0.7465 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.8353, allocations: 0.5919 MB / 0.7471 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.8353, allocations: 146.8 kB / 0.7472 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.8355, allocations: 214.8 kB / 0.7475 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.8356, allocations: 390.7 kB / 0.7478 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.836, allocations: 278.5 kB / 0.7481 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.8365, allocations: 0.9427 MB / 0.749 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/0.8374, allocations: 1.177 MB / 0.7502 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.8374, allocations: 8 kB / 0.7502 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001439/0.8388, allocations: 1.224 MB / 0.7514 GB, free: 164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.8388, allocations: 12 kB / 0.7514 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.8389, allocations: 23.16 kB / 0.7514 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.84, allocations: 284.4 kB / 0.7517 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.8405, allocations: 203.6 kB / 0.7519 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007811/0.8413, allocations: 0.9238 MB / 0.7528 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/0.8419, allocations: 47.42 kB / 0.7528 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.842, allocations: 68 kB / 0.7529 GB, free: 162.4 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.0002908/0.8422, allocations: 340.6 kB / 0.7532 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.8423, allocations: 91.41 kB / 0.7533 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/0.8431, allocations: 0.5001 MB / 0.7538 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8431, allocations: 4 kB / 0.7538 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8431, allocations: 4 kB / 0.7538 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8431, allocations: 7.953 kB / 0.7538 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.8444, allocations: 0.9721 MB / 0.7547 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8444, allocations: 0 / 0.7547 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009451/0.8453, allocations: 183.7 kB / 0.7549 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.391e-05/0.8454, allocations: 28.83 kB / 0.7549 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.8454, allocations: 11.31 kB / 0.755 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.8466, allocations: 2.614 MB / 0.7575 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8466, allocations: 0 / 0.7575 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.8473, allocations: 0.6897 MB / 0.7582 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.8476, allocations: 115.5 kB / 0.7583 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.8477, allocations: 4 kB / 0.7583 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.848, allocations: 15.98 kB / 0.7583 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.8481, allocations: 35.48 kB / 0.7583 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.8481, allocations: 16 kB / 0.7584 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004444/0.8486, allocations: 0.5263 MB / 0.7589 GB, free: 156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8486, allocations: 4 kB / 0.7589 GB, free: 156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001084/0.8497, allocations: 375.5 kB / 0.7592 GB, free: 155.6 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.001331/0.851, allocations: 0.6361 MB / 0.7599 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009797/0.852, allocations: 0.6535 MB / 0.7605 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.852, allocations: 7.953 kB / 0.7605 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.8528, allocations: 358.9 kB / 0.7608 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.8541, allocations: 337.8 kB / 0.7612 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.8559, allocations: 1.617 MB / 0.7627 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.8562, allocations: 429.4 kB / 0.7632 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007155/0.8569, allocations: 376.8 kB / 0.7635 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.8571, allocations: 75.42 kB / 0.7636 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.8571, allocations: 0 / 0.7636 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02536/0.8825, allocations: 21.23 MB / 0.7843 GB, free: 130.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.529569738006103]