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.001478/0.001478, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001591/0.001591, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.334/1.334, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.2153/0.2153, allocations: 46.92 MB / 361.5 MB, free: 4.18 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.p|volume.medium.T",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.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 79.88 kB / 0.4974 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2629, allocations: 66.08 MB / 0.562 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4436/0.7065, allocations: 181 MB / 0.7387 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007476/0.7139, allocations: 6.555 MB / 0.7451 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.7146, allocations: 32.94 kB / 0.7451 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000992/0.7156, allocations: 430.7 kB / 0.7456 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.7191, allocations: 1.803 MB / 0.7473 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.7222, allocations: 1.54 MB / 0.7488 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002055/0.7243, allocations: 2.141 MB / 0.7509 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.7248, allocations: 478.9 kB / 0.7514 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.7278, allocations: 1.795 MB / 0.7531 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.7301, allocations: 1.568 MB / 0.7547 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.7303, allocations: 74.94 kB / 0.7547 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.7327, allocations: 1.381 MB / 0.7561 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.7332, allocations: 458.8 kB / 0.7565 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000824/0.734, allocations: 0.5587 MB / 0.7571 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.7365, allocations: 2.067 MB / 0.7591 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7365, allocations: 0.8438 kB / 0.7591 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7365, allocations: 3.188 kB / 0.7591 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.7365, allocations: 0.7188 kB / 0.7591 GB, free: 1.473 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.002614/0.7392, allocations: 1.408 MB / 0.7605 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.7392, allocations: 8.469 kB / 0.7605 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.7404, allocations: 288 kB / 0.7607 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009743/0.7414, allocations: 0.5697 MB / 0.7613 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.7415, allocations: 170 kB / 0.7615 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/0.7416, allocations: 63.98 kB / 0.7615 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.743, allocations: 1.264 MB / 0.7627 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.743, allocations: 6.594 kB / 0.7628 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.7431, allocations: 35.75 kB / 0.7628 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-05/0.7432, allocations: 80.08 kB / 0.7629 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.7445, allocations: 1.05 MB / 0.7639 GB, free: 16.21 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.005548/0.75, allocations: 4.647 MB / 0.7684 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.7504, allocations: 296.4 kB / 0.7687 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.7506, allocations: 134.4 kB / 0.7688 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/0.7507, allocations: 20.47 kB / 0.7689 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.7507, allocations: 41.62 kB / 0.7689 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.7507, allocations: 3.188 kB / 0.7689 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.005587/0.7563, allocations: 1.767 MB / 0.7706 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.7564, allocations: 131.4 kB / 0.7708 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009015/0.7573, allocations: 0.942 MB / 0.7717 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.7573, allocations: 32.89 kB / 0.7717 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.7577, allocations: 0.5842 MB / 0.7723 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.835e-05/0.7578, allocations: 137.6 kB / 0.7724 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.758, allocations: 221.4 kB / 0.7726 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7582, allocations: 399.7 kB / 0.773 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.7585, allocations: 274.7 kB / 0.7733 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.7593, allocations: 0.8626 MB / 0.7741 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.7605, allocations: 1.182 MB / 0.7753 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.7605, allocations: 6.906 kB / 0.7753 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00154/0.762, allocations: 1.239 MB / 0.7765 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.762, allocations: 15.64 kB / 0.7765 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.762, allocations: 21.53 kB / 0.7765 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.7632, allocations: 292.2 kB / 0.7768 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.7637, allocations: 202.4 kB / 0.777 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009157/0.7646, allocations: 0.9147 MB / 0.7779 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/0.7653, allocations: 48.75 kB / 0.7779 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.7653, allocations: 69.91 kB / 0.778 GB, free: 9.852 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.0003857/0.7657, allocations: 343.6 kB / 0.7783 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.7659, allocations: 94.19 kB / 0.7784 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008251/0.7667, allocations: 0.5137 MB / 0.7789 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7667, allocations: 8.078 kB / 0.7789 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7667, allocations: 2.156 kB / 0.7789 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7667, allocations: 0 / 0.7789 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.7682, allocations: 1.097 MB / 0.78 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7682, allocations: 1.031 kB / 0.78 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008895/0.7691, allocations: 184.5 kB / 0.7802 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.716e-05/0.7691, allocations: 20.47 kB / 0.7802 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.7692, allocations: 15.83 kB / 0.7802 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.7711, allocations: 2.667 MB / 0.7828 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7711, allocations: 1.203 kB / 0.7828 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.772, allocations: 0.7069 MB / 0.7835 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.7723, allocations: 123.8 kB / 0.7836 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.7724, allocations: 10.38 kB / 0.7836 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.7728, allocations: 12.67 kB / 0.7836 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.7728, allocations: 30.66 kB / 0.7837 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.7729, allocations: 19.56 kB / 0.7837 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006303/0.7735, allocations: 0.6237 MB / 0.7843 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7735, allocations: 3.438 kB / 0.7843 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001168/0.7747, allocations: 380.9 kB / 0.7847 GB, free: 6.418 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.001359/0.776, allocations: 0.6339 MB / 0.7853 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.7771, allocations: 0.6508 MB / 0.7859 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7771, allocations: 2.375 kB / 0.7859 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.7779, allocations: 356.3 kB / 0.7863 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.7795, allocations: 432.5 kB / 0.7867 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.7817, allocations: 1.696 MB / 0.7883 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.7823, allocations: 1.026 MB / 0.7893 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.7825, allocations: 91.66 kB / 0.7894 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.7825, allocations: 0 / 0.7894 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.02831/0.8108, allocations: 22.91 MB / 0.8118 GB, free: 6.547 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/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_trunk_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: 10.917281275847927]