Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.001018/0.001018, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.006365/0.006365, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8396/0.8396, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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(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_trunk_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_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.61e-05, allocations: 7.062 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.009945/0.009971, allocations: 14.58 MB / 340.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005877/0.01585, allocations: 6.289 MB / 346.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/0.01623, allocations: 27.75 kB / 346.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.01685, allocations: 329.9 kB / 347 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.01843, allocations: 1.154 MB / 348.1 MB, free: 8.914 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.02085, allocations: 1.891 MB / 350 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.02258, allocations: 2.17 MB / 352.2 MB, free: 4.852 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/0.02308, allocations: 0.5061 MB / 352.7 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009366/0.02402, allocations: 1.064 MB / 353.8 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006526/0.02467, allocations: 0.7792 MB / 354.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.479e-05/0.02475, allocations: 80 kB / 354.6 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.02594, allocations: 1.029 MB / 355.7 MB, free: 1.371 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.02614, allocations: 338.9 kB / 356 MB, free: 1.039 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.02636, allocations: 335.2 kB / 356.3 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.02796, allocations: 1.998 MB / 358.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.02796, allocations: 4 kB / 358.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.02797, allocations: 0 / 358.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.02798, allocations: 4 kB / 358.3 MB, free: 14.7 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.001675/0.02965, allocations: 1.212 MB / 359.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.02968, allocations: 11.98 kB / 359.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.02988, allocations: 104.4 kB / 359.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.0305, allocations: 0.5596 MB / 360.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.03061, allocations: 160.1 kB / 360.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.03068, allocations: 55.98 kB / 360.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009524/0.03163, allocations: 1.176 MB / 361.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.03165, allocations: 7.891 kB / 361.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.0317, allocations: 19.98 kB / 361.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/0.03175, allocations: 57.27 kB / 361.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008451/0.03259, allocations: 0.8327 MB / 362.5 MB, free: 10.34 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.002899/0.03549, allocations: 2.595 MB / 365.1 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.03627, allocations: 0.6338 MB / 365.7 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.03659, allocations: 338.2 kB / 366.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.03791, allocations: 1.193 MB / 367.3 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.03794, allocations: 47 kB / 367.3 MB, free: 5.453 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 1.433e-06/0.03794, allocations: 4 kB / 367.3 MB, free: 5.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.00374/0.04168, allocations: 2.678 MB / 370 MB, free: 2.734 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.04172, allocations: 85.77 kB / 370.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.04213, allocations: 0.5496 MB / 370.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.04218, allocations: 37.7 kB / 370.7 MB, free: 2.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.04234, allocations: 360.7 kB / 371 MB, free: 1.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.04245, allocations: 234 kB / 371.2 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.04261, allocations: 146.6 kB / 371.4 MB, free: 1.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.04271, allocations: 382.7 kB / 371.8 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.04309, allocations: 376.6 kB / 372.1 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.04366, allocations: 0.5442 MB / 372.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.04446, allocations: 0.868 MB / 373.5 MB, free: 15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.04446, allocations: 4 kB / 373.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001165/0.04563, allocations: 1.146 MB / 374.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.04564, allocations: 8 kB / 374.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.04565, allocations: 4 kB / 374.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006977/0.04635, allocations: 452.8 kB / 375.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.04668, allocations: 163.8 kB / 375.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007325/0.04741, allocations: 1.021 MB / 376.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.04764, allocations: 28.03 kB / 376.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.04769, allocations: 31.98 kB / 376.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005167/0.0482, allocations: 0.5331 MB / 376.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004414/0.04864, allocations: 0.5411 MB / 377.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007645/0.04941, allocations: 0.8416 MB / 378.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.04941, allocations: 3.984 kB / 378.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001112/0.05052, allocations: 1.095 MB / 379.4 MB, free: 8.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.05053, allocations: 8 kB / 379.4 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.05054, allocations: 4 kB / 379.4 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.05094, allocations: 308.8 kB / 379.7 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.05138, allocations: 167.8 kB / 379.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000573/0.05196, allocations: 0.9035 MB / 380.8 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.05218, allocations: 32.03 kB / 380.8 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.05222, allocations: 39.92 kB / 380.8 MB, free: 7.473 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.00014/0.05236, allocations: 232.1 kB / 381.1 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.05244, allocations: 75.58 kB / 381.1 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.05361, allocations: 1.079 MB / 382.2 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.05361, allocations: 8 kB / 382.2 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.05362, allocations: 0 / 382.2 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.05362, allocations: 7.922 kB / 382.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.05537, allocations: 1.774 MB / 384 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.05537, allocations: 0 / 384 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.05566, allocations: 119.9 kB / 384.1 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005983/0.05626, allocations: 452.4 kB / 384.6 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.05629, allocations: 19.94 kB / 384.6 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006836/0.05698, allocations: 1.021 MB / 385.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.05698, allocations: 3.984 kB / 385.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.05856, allocations: 1.589 MB / 387.2 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.05876, allocations: 159.4 kB / 387.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.05881, allocations: 12 kB / 387.4 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.05904, allocations: 27.98 kB / 387.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.05912, allocations: 60.55 kB / 387.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.05916, allocations: 27.98 kB / 387.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002645/0.05943, allocations: 378.8 kB / 387.9 MB, free: 360 kB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05943, allocations: 0 / 387.9 MB, free: 360 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009191/0.06035, allocations: 0.581 MB / 388.4 MB, free: 15.77 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.0006624/0.06101, allocations: 0.5135 MB / 388.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.06256, allocations: 1.327 MB / 390.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.06256, allocations: 0 / 390.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.06304, allocations: 443.3 kB / 390.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000832/0.06388, allocations: 368.9 kB / 391.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.06567, allocations: 1.653 MB / 392.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.06589, allocations: 400.4 kB / 393.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.06604, allocations: 80.47 kB / 393.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.06604, allocations: 0 / 393.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.01411/0.08016, allocations: 19.03 MB / 412.2 MB, free: 7.988 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.408435337245464]