Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001462, allocations: 117.7 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001713, allocations: 212.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 79.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4249, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2152/0.6402, allocations: 180.2 MB / 0.7076 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0096/0.6498, allocations: 6.5 MB / 0.714 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.6511, allocations: 23.88 kB / 0.714 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.6525, allocations: 417.6 kB / 0.7144 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.658, allocations: 1.753 MB / 0.7161 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004322/0.6624, allocations: 1.482 MB / 0.7176 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003263/0.6656, allocations: 2.118 MB / 0.7196 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4258/1.091, allocations: 0.5411 MB / 0.7202 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/1.096, allocations: 1.757 MB / 0.7219 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/1.099, allocations: 1.49 MB / 0.7233 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003342/1.1, allocations: 76.53 kB / 0.7234 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/1.103, allocations: 1.309 MB / 0.7247 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006009/1.103, allocations: 447.8 kB / 0.7251 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009514/1.104, allocations: 0.5547 MB / 0.7257 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003771/1.108, allocations: 2.076 MB / 0.7277 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.108, allocations: 0.9375 kB / 0.7277 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/1.108, allocations: 1.094 kB / 0.7277 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.132e-05/1.108, allocations: 0 / 0.7277 GB, free: 3.742 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.003832/1.112, allocations: 1.448 MB / 0.7291 GB, free: 19.05 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.112, allocations: 10.78 kB / 0.7291 GB, free: 19.05 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/1.114, allocations: 276.8 kB / 0.7294 GB, free: 19 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/1.115, allocations: 0.6409 MB / 0.73 GB, free: 18.72 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/1.115, allocations: 112.6 kB / 0.7301 GB, free: 18.66 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/1.115, allocations: 71.02 kB / 0.7302 GB, free: 18.66 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/1.117, allocations: 1.259 MB / 0.7314 GB, free: 18.45 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/1.117, allocations: 6.5 kB / 0.7314 GB, free: 18.45 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/1.117, allocations: 32.84 kB / 0.7314 GB, free: 18.45 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.871e-05/1.117, allocations: 84.83 kB / 0.7315 GB, free: 18.44 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/1.118, allocations: 1.051 MB / 0.7326 GB, free: 18.43 MB / 0.5763 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.006746/1.125, allocations: 4.906 MB / 0.7373 GB, free: 15.69 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/1.125, allocations: 302.1 kB / 0.7376 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/1.126, allocations: 148.5 kB / 0.7378 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/1.126, allocations: 101.1 kB / 0.7379 GB, free: 15.56 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.126, allocations: 41.78 kB / 0.7379 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=28): time 1.993e-06/1.126, allocations: 0 / 0.7379 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.006756/1.133, allocations: 1.833 MB / 0.7397 GB, free: 14.85 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/1.133, allocations: 132 kB / 0.7398 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/1.134, allocations: 0.9459 MB / 0.7408 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/1.134, allocations: 34.2 kB / 0.7408 GB, free: 14.49 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/1.134, allocations: 0.5645 MB / 0.7413 GB, free: 14.18 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/1.134, allocations: 135.1 kB / 0.7415 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/1.135, allocations: 219.1 kB / 0.7417 GB, free: 14.07 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002259/1.135, allocations: 399.8 kB / 0.7421 GB, free: 13.76 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/1.135, allocations: 275.6 kB / 0.7423 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/1.136, allocations: 0.8657 MB / 0.7432 GB, free: 13.01 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/1.137, allocations: 1.179 MB / 0.7443 GB, free: 12.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.137, allocations: 7.062 kB / 0.7443 GB, free: 12.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00181/1.139, allocations: 1.24 MB / 0.7455 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.139, allocations: 14.73 kB / 0.7455 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.139, allocations: 21.16 kB / 0.7456 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/1.14, allocations: 291.1 kB / 0.7458 GB, free: 12.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/1.141, allocations: 203.8 kB / 0.746 GB, free: 12.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009871/1.142, allocations: 0.9164 MB / 0.7469 GB, free: 11.67 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008322/1.143, allocations: 48.78 kB / 0.747 GB, free: 11.67 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/1.143, allocations: 66.41 kB / 0.747 GB, free: 11.67 MB / 0.5763 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.0004771/1.143, allocations: 348.6 kB / 0.7474 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/1.143, allocations: 91 kB / 0.7475 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009158/1.144, allocations: 0.5163 MB / 0.748 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.144, allocations: 7.031 kB / 0.748 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.144, allocations: 3.672 kB / 0.748 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/1.144, allocations: 0.8125 kB / 0.748 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/1.146, allocations: 1.13 MB / 0.7491 GB, free: 11.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.146, allocations: 0.625 kB / 0.7491 GB, free: 11.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009391/1.147, allocations: 183.6 kB / 0.7493 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.493e-05/1.147, allocations: 23.36 kB / 0.7493 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/1.147, allocations: 15.72 kB / 0.7493 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.149, allocations: 2.87 MB / 0.7521 GB, free: 8.332 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.149, allocations: 1.938 kB / 0.7521 GB, free: 8.332 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009962/1.15, allocations: 0.7035 MB / 0.7528 GB, free: 8.129 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/1.15, allocations: 196.5 kB / 0.753 GB, free: 7.988 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.151, allocations: 6.531 kB / 0.753 GB, free: 7.988 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/1.151, allocations: 18.39 kB / 0.753 GB, free: 7.988 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/1.151, allocations: 28.05 kB / 0.753 GB, free: 7.984 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/1.151, allocations: 22.45 kB / 0.753 GB, free: 7.984 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0007674/1.152, allocations: 0.623 MB / 0.7537 GB, free: 7.875 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4e-07/1.152, allocations: 4.188 kB / 0.7537 GB, free: 7.875 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00156/1.153, allocations: 381.9 kB / 0.754 GB, free: 7.844 MB / 0.5763 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.001812/1.155, allocations: 0.6449 MB / 0.7547 GB, free: 7.715 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001289/1.157, allocations: 0.6738 MB / 0.7553 GB, free: 7.707 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.157, allocations: 7.797 kB / 0.7553 GB, free: 7.699 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0008163/1.157, allocations: 361.7 kB / 0.7557 GB, free: 7.59 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/1.159, allocations: 420.2 kB / 0.7561 GB, free: 7.535 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/1.162, allocations: 1.677 MB / 0.7577 GB, free: 6.867 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/1.162, allocations: 1.021 MB / 0.7587 GB, free: 6.16 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/1.163, allocations: 92 kB / 0.7588 GB, free: 6.148 MB / 0.5763 GB Notification: Performance of SimCode: time 1.372e-06/1.163, allocations: 0 / 0.7588 GB, free: 6.148 MB / 0.5763 GB Notification: Performance of Templates: time 0.02964/1.192, allocations: 22.81 MB / 0.7811 GB, free: 15.55 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p