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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 117 kB / 19.13 MB, free: 3.922 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.001416/0.001416, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.491/1.491, allocations: 227.4 MB / 252.3 MB, free: 72 kB / 190.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.2349/0.2349, allocations: 46.16 MB / 351.8 MB, free: 14.31 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 81.31 kB / 490.9 MB, free: 28.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1234, allocations: 62.45 MB / 0.5404 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4686/0.592, allocations: 180.2 MB / 0.7163 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009194/0.6012, allocations: 6.502 MB / 0.7227 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/0.6019, allocations: 23.81 kB / 0.7227 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.6031, allocations: 425.7 kB / 0.7231 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.6073, allocations: 1.746 MB / 0.7248 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.6112, allocations: 1.482 MB / 0.7263 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002956/0.6141, allocations: 2.125 MB / 0.7283 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008905/0.615, allocations: 0.5385 MB / 0.7289 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.6186, allocations: 1.756 MB / 0.7306 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.6214, allocations: 1.496 MB / 0.732 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.6216, allocations: 76 kB / 0.7321 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.6246, allocations: 1.31 MB / 0.7334 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004939/0.6251, allocations: 446.8 kB / 0.7338 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007348/0.6258, allocations: 0.5524 MB / 0.7344 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.629, allocations: 2.075 MB / 0.7364 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6291, allocations: 4 kB / 0.7364 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.176e-06/0.6291, allocations: 4 kB / 0.7364 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.6291, allocations: 0 / 0.7364 GB, free: 7.203 MB / 0.5294 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.003252/0.6324, allocations: 1.475 MB / 0.7378 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6324, allocations: 12.03 kB / 0.7378 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.6339, allocations: 283.1 kB / 0.7381 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.635, allocations: 0.6408 MB / 0.7387 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.6352, allocations: 116.6 kB / 0.7389 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.6353, allocations: 67.94 kB / 0.7389 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.6374, allocations: 1.263 MB / 0.7402 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.6374, allocations: 0 / 0.7402 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.6375, allocations: 35.98 kB / 0.7402 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.6377, allocations: 81.27 kB / 0.7403 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.6394, allocations: 1.051 MB / 0.7413 GB, free: 2.012 MB / 0.5294 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.007689/0.6471, allocations: 4.928 MB / 0.7461 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.6477, allocations: 306.5 kB / 0.7464 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.648, allocations: 148.8 kB / 0.7465 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.6481, allocations: 97.16 kB / 0.7466 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.6482, allocations: 42.56 kB / 0.7467 GB, free: 12.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.6482, allocations: 3.938 kB / 0.7467 GB, free: 12.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.007143/0.6554, allocations: 1.832 MB / 0.7485 GB, free: 10.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.6555, allocations: 132.5 kB / 0.7486 GB, free: 10.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.6568, allocations: 0.939 MB / 0.7495 GB, free: 9.129 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.6569, allocations: 29.7 kB / 0.7495 GB, free: 9.094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.6573, allocations: 0.5964 MB / 0.7501 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.6575, allocations: 134.9 kB / 0.7502 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.6578, allocations: 214.8 kB / 0.7505 GB, free: 8.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.658, allocations: 402.7 kB / 0.7508 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.6585, allocations: 271 kB / 0.7511 GB, free: 7.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.6595, allocations: 0.8717 MB / 0.7519 GB, free: 6.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.6612, allocations: 1.179 MB / 0.7531 GB, free: 4.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.6613, allocations: 4 kB / 0.7531 GB, free: 4.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002093/0.6634, allocations: 1.248 MB / 0.7543 GB, free: 3.602 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.6634, allocations: 12 kB / 0.7543 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.6634, allocations: 20.75 kB / 0.7543 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.6649, allocations: 290 kB / 0.7546 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.6655, allocations: 211.6 kB / 0.7548 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.6669, allocations: 0.9152 MB / 0.7557 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007628/0.6676, allocations: 43.98 kB / 0.7558 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.834e-05/0.6677, allocations: 68.5 kB / 0.7558 GB, free: 2.027 MB / 0.545 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.0005039/0.6683, allocations: 337.3 kB / 0.7562 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.6684, allocations: 103.3 kB / 0.7562 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.6695, allocations: 0.5131 MB / 0.7567 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.6696, allocations: 4 kB / 0.7568 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6696, allocations: 0 / 0.7568 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6696, allocations: 0 / 0.7568 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.6716, allocations: 1.141 MB / 0.7579 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6716, allocations: 3.938 kB / 0.7579 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6726, allocations: 175.8 kB / 0.758 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.6727, allocations: 32.81 kB / 0.7581 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.6728, allocations: 15.92 kB / 0.7581 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.6753, allocations: 2.869 MB / 0.7609 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6753, allocations: 0 / 0.7609 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.6766, allocations: 0.7083 MB / 0.7616 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.6769, allocations: 200.7 kB / 0.7618 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.677, allocations: 11.95 kB / 0.7618 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.6775, allocations: 19.98 kB / 0.7618 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.6776, allocations: 23.97 kB / 0.7618 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.6776, allocations: 19.98 kB / 0.7618 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008707/0.6785, allocations: 0.6243 MB / 0.7625 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6785, allocations: 0 / 0.7625 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001262/0.6798, allocations: 383.5 kB / 0.7628 GB, free: 10.44 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.001835/0.6816, allocations: 0.6512 MB / 0.7635 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.6832, allocations: 0.6773 MB / 0.7641 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6832, allocations: 0.875 kB / 0.7641 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.6841, allocations: 363 kB / 0.7645 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.6863, allocations: 427.8 kB / 0.7649 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.6891, allocations: 1.688 MB / 0.7665 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.69, allocations: 1.028 MB / 0.7675 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/0.6904, allocations: 87.42 kB / 0.7676 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.6904, allocations: 0 / 0.7676 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of Templates: time 0.0348/0.7252, allocations: 22.85 MB / 0.7899 GB, free: 14.71 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 13.027291528997011]