Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 109.3 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 185.3 kB / 19.33 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 51.92 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09064, allocations: 46.61 MB / 375.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4169/0.5076, allocations: 175.6 MB / 0.5386 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004743/0.5124, allocations: 3.848 MB / 0.5423 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.5128, allocations: 4 kB / 0.5423 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008734/0.5137, allocations: 226.7 kB / 0.5425 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.5149, allocations: 358.1 kB / 0.5429 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.5168, allocations: 0.5312 MB / 0.5434 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.5182, allocations: 1.115 MB / 0.5445 GB, free: 9.316 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.5185, allocations: 100.7 kB / 0.5446 GB, free: 9.219 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.5215, allocations: 1.279 MB / 0.5458 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.5221, allocations: 326.8 kB / 0.5462 GB, free: 7.621 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.5223, allocations: 44 kB / 0.5462 GB, free: 7.578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.5235, allocations: 455.1 kB / 0.5466 GB, free: 7.133 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.5238, allocations: 235.4 kB / 0.5469 GB, free: 6.902 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.5243, allocations: 318.8 kB / 0.5472 GB, free: 6.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.5257, allocations: 1.071 MB / 0.5482 GB, free: 5.516 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5257, allocations: 0 / 0.5482 GB, free: 5.516 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5257, allocations: 0 / 0.5482 GB, free: 5.516 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.5258, allocations: 0 / 0.5482 GB, free: 5.516 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001372/0.5272, allocations: 0.8074 MB / 0.549 GB, free: 4.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5272, allocations: 12.03 kB / 0.549 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.5278, allocations: 115.5 kB / 0.5491 GB, free: 4.535 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.5284, allocations: 381.1 kB / 0.5495 GB, free: 4.121 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.5284, allocations: 33 kB / 0.5495 GB, free: 4.086 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/0.5285, allocations: 36 kB / 0.5495 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008733/0.5294, allocations: 0.5654 MB / 0.5501 GB, free: 3.469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5294, allocations: 4 kB / 0.5501 GB, free: 3.465 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.5295, allocations: 16 kB / 0.5501 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.5295, allocations: 8 kB / 0.5501 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/0.5301, allocations: 450.3 kB / 0.5506 GB, free: 2.996 MB / 478.1 MB 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.003547/0.5337, allocations: 2.133 MB / 0.5526 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.5339, allocations: 147.3 kB / 0.5528 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.5341, allocations: 80.83 kB / 0.5529 GB, free: 472 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.5341, allocations: 4 kB / 0.5529 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.5341, allocations: 34.56 kB / 0.5529 GB, free: 424 kB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.5342, allocations: 0 / 0.5529 GB, free: 424 kB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.2148/0.749, allocations: 1.744 MB / 0.5546 GB, free: 170.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.7491, allocations: 57.44 kB / 0.5546 GB, free: 170.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.7497, allocations: 485.5 kB / 0.5551 GB, free: 170.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.7497, allocations: 30.45 kB / 0.5551 GB, free: 170.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.7499, allocations: 320.4 kB / 0.5554 GB, free: 169.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.75, allocations: 89.61 kB / 0.5555 GB, free: 169.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.7502, allocations: 123.6 kB / 0.5556 GB, free: 169.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.7503, allocations: 354.1 kB / 0.556 GB, free: 169.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.7506, allocations: 136.1 kB / 0.5561 GB, free: 169.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.751, allocations: 441.6 kB / 0.5565 GB, free: 169.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.7517, allocations: 0.6116 MB / 0.5571 GB, free: 168.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7517, allocations: 4.219 kB / 0.5571 GB, free: 168.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001031/0.7528, allocations: 0.6343 MB / 0.5578 GB, free: 168.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.7528, allocations: 9.938 kB / 0.5578 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.7528, allocations: 19.56 kB / 0.5578 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.753, allocations: 54.94 kB / 0.5578 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.7535, allocations: 140.9 kB / 0.558 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.7547, allocations: 1.947 MB / 0.5599 GB, free: 166.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.7551, allocations: 23.38 kB / 0.5599 GB, free: 166.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.7551, allocations: 36.44 kB / 0.5599 GB, free: 166.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.7554, allocations: 220.9 kB / 0.5601 GB, free: 166.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.7554, allocations: 43.69 kB / 0.5602 GB, free: 166.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.756, allocations: 287.2 kB / 0.5605 GB, free: 166 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.756, allocations: 5.031 kB / 0.5605 GB, free: 166 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.756, allocations: 2.797 kB / 0.5605 GB, free: 166 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000398/0.7564, allocations: 0.5276 MB / 0.561 GB, free: 165.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009189/0.7573, allocations: 0.6976 MB / 0.5617 GB, free: 165 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.7573, allocations: 1.219 kB / 0.5617 GB, free: 165 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.7576, allocations: 49.33 kB / 0.5617 GB, free: 165 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.402e-05/0.7577, allocations: 29.19 kB / 0.5617 GB, free: 165 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.7577, allocations: 7.75 kB / 0.5617 GB, free: 165 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006664/0.7584, allocations: 1.374 MB / 0.5631 GB, free: 163.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7584, allocations: 0 / 0.5631 GB, free: 163.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.7589, allocations: 436.3 kB / 0.5635 GB, free: 163.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.759, allocations: 115.7 kB / 0.5636 GB, free: 163.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.7591, allocations: 6.891 kB / 0.5636 GB, free: 163.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.7594, allocations: 7.594 kB / 0.5636 GB, free: 163.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.7594, allocations: 19.02 kB / 0.5636 GB, free: 163.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.7594, allocations: 13 kB / 0.5637 GB, free: 163.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003573/0.7598, allocations: 324.5 kB / 0.564 GB, free: 163.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7598, allocations: 4.969 kB / 0.564 GB, free: 163.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008834/0.7607, allocations: 211.7 kB / 0.5642 GB, free: 163.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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): 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.001199/0.7619, allocations: 463.1 kB / 0.5646 GB, free: 162.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.7627, allocations: 465.6 kB / 0.5651 GB, free: 162.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7627, allocations: 1.094 kB / 0.5651 GB, free: 162.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.7629, allocations: 217.1 kB / 0.5653 GB, free: 162.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.7641, allocations: 217.1 kB / 0.5655 GB, free: 162.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.7654, allocations: 0.8973 MB / 0.5664 GB, free: 162 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.7658, allocations: 0.8248 MB / 0.5672 GB, free: 161.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.7659, allocations: 50.48 kB / 0.5672 GB, free: 161.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.9e-07/0.7659, allocations: 0 / 0.5672 GB, free: 161.2 MB / 478.1 MB Notification: Performance of Templates: time 0.01877/0.7847, allocations: 12.21 MB / 0.5791 GB, free: 157 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches