Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002049/0.002049, allocations: 74.66 kB / 19.93 MB, free: 1.781 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.002747/0.002747, allocations: 163.9 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.239/0.239, allocations: 32.38 MB / 269.6 MB, free: 4.676 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.646e-05/3.86e-05, allocations: 2.281 kB / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6003/0.6003, allocations: 158.8 MB / 0.5529 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.6112, allocations: 6.39 MB / 0.5591 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009186/0.6122, allocations: 27.75 kB / 0.5591 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.6141, allocations: 401.5 kB / 0.5595 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008196/0.6223, allocations: 2.101 MB / 0.5616 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005503/0.6278, allocations: 1.747 MB / 0.5633 GB, free: 7.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003567/0.6314, allocations: 2.156 MB / 0.5654 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009647/0.6323, allocations: 489.3 kB / 0.5658 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005507/0.6378, allocations: 2.167 MB / 0.568 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003298/0.6411, allocations: 1.465 MB / 0.5694 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.6414, allocations: 80 kB / 0.5695 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.645, allocations: 1.368 MB / 0.5708 GB, free: 40 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006204/0.6456, allocations: 478.7 kB / 0.5713 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006975/0.6463, allocations: 419.1 kB / 0.5717 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004823/0.6511, allocations: 2.357 MB / 0.574 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6511, allocations: 0 / 0.574 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6511, allocations: 0 / 0.574 GB, free: 12.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.038e-05/0.6511, allocations: 0 / 0.574 GB, free: 12.8 MB / 462.1 MB 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.003722/0.6549, allocations: 1.364 MB / 0.5753 GB, free: 11.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.6549, allocations: 12.03 kB / 0.5753 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.6564, allocations: 283.6 kB / 0.5756 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.6576, allocations: 0.579 MB / 0.5761 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.6578, allocations: 168.1 kB / 0.5763 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.658, allocations: 67.98 kB / 0.5764 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.6607, allocations: 1.996 MB / 0.5783 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.6607, allocations: 4 kB / 0.5783 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.6609, allocations: 33.81 kB / 0.5784 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.661, allocations: 81.2 kB / 0.5784 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6628, allocations: 1.043 MB / 0.5794 GB, free: 6.844 MB / 462.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.008447/0.6712, allocations: 3.904 MB / 0.5833 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.6719, allocations: 291.1 kB / 0.5835 GB, free: 2.535 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.6722, allocations: 141.4 kB / 0.5837 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.6723, allocations: 57.94 kB / 0.5837 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.6724, allocations: 42.5 kB / 0.5838 GB, free: 2.293 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.546e-06/0.6724, allocations: 0 / 0.5838 GB, free: 2.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.007385/0.6798, allocations: 1.763 MB / 0.5855 GB, free: 476 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.6799, allocations: 136.5 kB / 0.5856 GB, free: 308 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.681, allocations: 0.8361 MB / 0.5864 GB, free: 15.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/0.6811, allocations: 33.7 kB / 0.5865 GB, free: 15.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/0.6816, allocations: 0.592 MB / 0.587 GB, free: 14.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.6818, allocations: 138.9 kB / 0.5872 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.6821, allocations: 210.8 kB / 0.5874 GB, free: 14.47 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.6823, allocations: 390.7 kB / 0.5878 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.6828, allocations: 286.1 kB / 0.588 GB, free: 13.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.684, allocations: 0.9392 MB / 0.5889 GB, free: 12.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.6856, allocations: 1.169 MB / 0.5901 GB, free: 11.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.6856, allocations: 8 kB / 0.5901 GB, free: 11.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002378/0.688, allocations: 1.22 MB / 0.5913 GB, free: 9.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.688, allocations: 19.98 kB / 0.5913 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.6881, allocations: 20 kB / 0.5913 GB, free: 9.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.6895, allocations: 288.4 kB / 0.5916 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.6901, allocations: 199.6 kB / 0.5918 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.6913, allocations: 0.9152 MB / 0.5927 GB, free: 8.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008155/0.6922, allocations: 47.98 kB / 0.5927 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.6923, allocations: 68 kB / 0.5928 GB, free: 8.309 MB / 478.1 MB 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.0005531/0.6928, allocations: 339.4 kB / 0.5931 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.693, allocations: 87.47 kB / 0.5932 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.694, allocations: 482 kB / 0.5937 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.694, allocations: 4 kB / 0.5937 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.694, allocations: 0 / 0.5937 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.694, allocations: 3.984 kB / 0.5937 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.6959, allocations: 0.9645 MB / 0.5946 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6959, allocations: 0 / 0.5946 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6969, allocations: 179.8 kB / 0.5948 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.697, allocations: 24.84 kB / 0.5948 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.6971, allocations: 11.98 kB / 0.5948 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.6996, allocations: 2.62 MB / 0.5974 GB, free: 3.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6996, allocations: 3.938 kB / 0.5974 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.7008, allocations: 0.6933 MB / 0.5981 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.7011, allocations: 107.5 kB / 0.5982 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.7012, allocations: 8.312 kB / 0.5982 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.7016, allocations: 23.98 kB / 0.5982 GB, free: 2.484 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.7017, allocations: 19.95 kB / 0.5982 GB, free: 2.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.7017, allocations: 23.98 kB / 0.5982 GB, free: 2.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007849/0.7025, allocations: 0.5224 MB / 0.5987 GB, free: 1.926 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7025, allocations: 0 / 0.5987 GB, free: 1.926 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001622/0.7042, allocations: 443.1 kB / 0.5992 GB, free: 1.492 MB / 478.1 MB 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.002286/0.7064, allocations: 0.7688 MB / 0.5999 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.7081, allocations: 0.6537 MB / 0.6006 GB, free: 64 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.7081, allocations: 4 kB / 0.6006 GB, free: 60 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.7091, allocations: 360 kB / 0.6009 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.7108, allocations: 331.5 kB / 0.6012 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.7135, allocations: 1.516 MB / 0.6027 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.7141, allocations: 437.4 kB / 0.6031 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008288/0.7149, allocations: 294.1 kB / 0.6034 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.7151, allocations: 68.48 kB / 0.6035 GB, free: 13.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7151, allocations: 7.938 kB / 0.6035 GB, free: 13.01 MB / 494.1 MB Notification: Performance of Templates: time 0.03852/0.7536, allocations: 20.42 MB / 0.6234 GB, free: 8.605 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.895652886480093]