Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.0008267/0.0008267, allocations: 83.69 kB / 21.44 MB, free: 3.117 MB / 18.57 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.003122/0.003122, allocations: 156.5 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8478/0.8478, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks") translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.686e-05, allocations: 4.953 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01033/0.01034, allocations: 14.58 MB / 340.4 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005989/0.01633, allocations: 6.301 MB / 346.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.01672, allocations: 31.75 kB / 346.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00065/0.01737, allocations: 325.9 kB / 347 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.01902, allocations: 1.154 MB / 348.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.02166, allocations: 1.892 MB / 350.1 MB, free: 7.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.02327, allocations: 2.166 MB / 352.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004762/0.02375, allocations: 0.5211 MB / 352.8 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.02482, allocations: 1.064 MB / 353.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.02547, allocations: 0.7753 MB / 354.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.919e-05/0.02555, allocations: 76 kB / 354.7 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.02676, allocations: 1.033 MB / 355.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.02697, allocations: 342.9 kB / 356.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.02718, allocations: 327.2 kB / 356.4 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.02871, allocations: 2.002 MB / 358.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.02871, allocations: 0 / 358.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02871, allocations: 0 / 358.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.02872, allocations: 0 / 358.4 MB, free: 14.76 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001557/0.03028, allocations: 1.216 MB / 359.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.03031, allocations: 12.03 kB / 359.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.03051, allocations: 100.4 kB / 359.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006712/0.03119, allocations: 0.5674 MB / 360.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/0.03152, allocations: 156.1 kB / 360.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.0316, allocations: 55.98 kB / 360.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/0.03256, allocations: 1.168 MB / 361.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.03258, allocations: 7.891 kB / 361.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.03263, allocations: 23.98 kB / 361.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.03268, allocations: 53.28 kB / 361.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008493/0.03353, allocations: 0.8365 MB / 362.6 MB, free: 10.4 MB / 330.7 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.002892/0.03642, allocations: 2.583 MB / 365.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.03708, allocations: 0.626 MB / 365.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.03742, allocations: 346.1 kB / 366.1 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.03877, allocations: 1.204 MB / 367.3 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.0388, allocations: 43 kB / 367.4 MB, free: 5.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 1.523e-06/0.0388, allocations: 0 / 367.4 MB, free: 5.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.004125/0.04292, allocations: 2.682 MB / 370 MB, free: 2.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.04297, allocations: 85.77 kB / 370.1 MB, free: 2.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.04339, allocations: 0.5457 MB / 370.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.04344, allocations: 41.7 kB / 370.7 MB, free: 2.094 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.0436, allocations: 360.7 kB / 371.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.04372, allocations: 238 kB / 371.3 MB, free: 1.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.04387, allocations: 150.6 kB / 371.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.04398, allocations: 378.7 kB / 371.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.04437, allocations: 372.6 kB / 372.2 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.04484, allocations: 0.5442 MB / 372.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.04565, allocations: 0.8641 MB / 373.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.04566, allocations: 0 / 373.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001457/0.04711, allocations: 1.145 MB / 374.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.04713, allocations: 12.55 kB / 374.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.04714, allocations: 8 kB / 374.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007126/0.04785, allocations: 444.5 kB / 375.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.04818, allocations: 163.8 kB / 375.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007534/0.04894, allocations: 1.021 MB / 376.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.04917, allocations: 32.03 kB / 376.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.04922, allocations: 35.98 kB / 376.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005373/0.04976, allocations: 0.5292 MB / 377 MB, free: 11.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004332/0.05019, allocations: 0.5411 MB / 377.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007712/0.05096, allocations: 0.8417 MB / 378.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.05097, allocations: 4 kB / 378.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001126/0.05209, allocations: 1.087 MB / 379.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.0521, allocations: 8 kB / 379.4 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.05211, allocations: 4 kB / 379.4 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/0.0525, allocations: 313.1 kB / 379.8 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.05281, allocations: 171.7 kB / 379.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005866/0.0534, allocations: 0.9074 MB / 380.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.05363, allocations: 36.03 kB / 380.9 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.05367, allocations: 39.92 kB / 380.9 MB, free: 7.535 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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 {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.05381, allocations: 228.2 kB / 381.1 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.05389, allocations: 67.58 kB / 381.2 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.05532, allocations: 1.079 MB / 382.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.05532, allocations: 8 kB / 382.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.05533, allocations: 0 / 382.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.05534, allocations: 7.922 kB / 382.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.05711, allocations: 1.778 MB / 384.1 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.05711, allocations: 0 / 384.1 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.0574, allocations: 115.9 kB / 384.2 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00059/0.05799, allocations: 440.4 kB / 384.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.05803, allocations: 23.86 kB / 384.6 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006824/0.05871, allocations: 1.027 MB / 385.7 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.05871, allocations: 4 kB / 385.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.06017, allocations: 1.589 MB / 387.2 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.06037, allocations: 159.4 kB / 387.4 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/0.06043, allocations: 15.94 kB / 387.4 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.06066, allocations: 31.97 kB / 387.5 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.06075, allocations: 56.55 kB / 387.5 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.06078, allocations: 23.98 kB / 387.5 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000271/0.06105, allocations: 382.8 kB / 387.9 MB, free: 436 kB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06105, allocations: 0 / 387.9 MB, free: 436 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009599/0.06201, allocations: 0.581 MB / 388.5 MB, free: 15.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009089/0.06292, allocations: 0.5133 MB / 389 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.06448, allocations: 1.327 MB / 390.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.06448, allocations: 4.125 kB / 390.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.06496, allocations: 447.3 kB / 390.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/0.06579, allocations: 370.6 kB / 391.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.0676, allocations: 1.636 MB / 392.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.06783, allocations: 400.4 kB / 393.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.06798, allocations: 80.47 kB / 393.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.06798, allocations: 4 kB / 393.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Templates: time 0.01411/0.08209, allocations: 19.04 MB / 412.3 MB, free: 8.062 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.06972121912986]