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.001663/0.001663, allocations: 121.8 kB / 18.51 MB, free: 4.547 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.001721/0.001721, allocations: 207.3 kB / 21.45 MB, free: 1.602 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.603/1.603, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001929/0.001929, allocations: 63.89 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1089, allocations: 53.32 MB / 427.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.2193/0.3282, allocations: 16.06 MB / 443.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009877/0.3381, allocations: 6.942 MB / 450.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.3392, allocations: 21.06 kB / 450.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3403, allocations: 334.6 kB / 450.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.3441, allocations: 1.102 MB / 451.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006964/0.351, allocations: 1.805 MB / 453.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003771/0.3548, allocations: 2.155 MB / 455.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.356, allocations: 0.5383 MB / 456.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.3581, allocations: 0.8146 MB / 456.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.3599, allocations: 0.8475 MB / 457.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.3601, allocations: 84.31 kB / 457.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.3635, allocations: 1.264 MB / 459.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005345/0.364, allocations: 325.3 kB / 459.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000782/0.3648, allocations: 462.4 kB / 459.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003783/0.3686, allocations: 1.889 MB / 461.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3686, allocations: 0 / 461.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3686, allocations: 0 / 461.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.3686, allocations: 0.875 kB / 461.8 MB, free: 8.34 MB / 366.1 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.003145/0.3717, allocations: 1.296 MB / 463 MB, free: 7.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3718, allocations: 8.906 kB / 463.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.3722, allocations: 99.38 kB / 463.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3733, allocations: 0.6336 MB / 463.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.3734, allocations: 110.8 kB / 463.9 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3735, allocations: 50.8 kB / 463.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.3752, allocations: 0.8964 MB / 464.8 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.3752, allocations: 3.953 kB / 464.8 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/0.3753, allocations: 26.05 kB / 464.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-05/0.3754, allocations: 53.66 kB / 464.9 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.3769, allocations: 0.8413 MB / 465.8 MB, free: 5.652 MB / 366.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.006438/0.3834, allocations: 3.453 MB / 469.2 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.3845, allocations: 0.6262 MB / 469.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006704/0.3852, allocations: 348.4 kB / 470.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003551/0.3888, allocations: 2.032 MB / 472.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.3888, allocations: 42.94 kB / 472.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.554e-06/0.3888, allocations: 0 / 472.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00775/0.3966, allocations: 2.837 MB / 475.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.3966, allocations: 88.77 kB / 475.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/0.3976, allocations: 0.6814 MB / 475.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-05/0.3976, allocations: 36.17 kB / 475.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.3979, allocations: 345.1 kB / 476.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.3982, allocations: 235.3 kB / 476.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.3984, allocations: 151.8 kB / 476.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.3987, allocations: 388.9 kB / 477 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006672/0.3993, allocations: 375.8 kB / 477.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008005/0.4001, allocations: 0.5109 MB / 477.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.4016, allocations: 0.8658 MB / 478.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4016, allocations: 5.312 kB / 478.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002304/0.4039, allocations: 1.166 MB / 479.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.4039, allocations: 4.625 kB / 479.9 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4039, allocations: 4 kB / 479.9 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.4053, allocations: 451.2 kB / 480.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.406, allocations: 167.7 kB / 480.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.4073, allocations: 1.017 MB / 481.5 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.4081, allocations: 31.97 kB / 481.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/0.4082, allocations: 31.98 kB / 481.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009807/0.4092, allocations: 0.5338 MB / 482.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000797/0.4099, allocations: 0.5083 MB / 482.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001418/0.4114, allocations: 0.8528 MB / 483.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.619e-06/0.4114, allocations: 0 / 483.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002202/0.4136, allocations: 1.105 MB / 484.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4136, allocations: 14.17 kB / 484.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4136, allocations: 4 kB / 484.6 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/0.4144, allocations: 306.3 kB / 484.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.4151, allocations: 175.7 kB / 485.1 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.4162, allocations: 0.9035 MB / 486 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/0.4169, allocations: 33.34 kB / 486 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.952e-05/0.417, allocations: 35.98 kB / 486.1 MB, free: 5.012 MB / 382.1 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.0003204/0.4173, allocations: 220.1 kB / 486.3 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.4176, allocations: 83.48 kB / 486.4 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.4198, allocations: 1.093 MB / 487.4 MB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4199, allocations: 8 kB / 487.5 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4199, allocations: 4 kB / 487.5 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.4199, allocations: 6.234 kB / 487.5 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.4234, allocations: 2 MB / 489.5 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4234, allocations: 0 / 489.5 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.424, allocations: 115.8 kB / 489.6 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.4253, allocations: 441.8 kB / 490 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/0.4254, allocations: 23.98 kB / 490 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.4267, allocations: 1.021 MB / 491.1 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4267, allocations: 7.875 kB / 491.1 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.4294, allocations: 1.593 MB / 492.7 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/0.4299, allocations: 252.5 kB / 492.9 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.4301, allocations: 12 kB / 492.9 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007081/0.4308, allocations: 27.97 kB / 492.9 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.431, allocations: 60.52 kB / 493 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-05/0.4311, allocations: 27.98 kB / 493 MB, free: 13.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007394/0.4318, allocations: 479 kB / 493.5 MB, free: 13.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4318, allocations: 0 / 493.5 MB, free: 13.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002007/0.4338, allocations: 0.6004 MB / 494.1 MB, free: 12.84 MB / 398.1 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.001496/0.4353, allocations: 498.6 kB / 494.6 MB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00322/0.4385, allocations: 1.329 MB / 495.9 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.4385, allocations: 4 kB / 495.9 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.4396, allocations: 447.3 kB / 496.4 MB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.4416, allocations: 395.8 kB / 496.7 MB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.4455, allocations: 1.742 MB / 498.5 MB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/0.4462, allocations: 0.9911 MB / 499.5 MB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001081/0.4473, allocations: 314.5 kB / 499.8 MB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.4476, allocations: 75.41 kB / 499.9 MB, free: 7.047 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4476, allocations: 0 / 499.9 MB, free: 7.047 MB / 398.1 MB Notification: Performance of Templates: time 0.04224/0.4898, allocations: 23.35 MB / 0.5109 GB, free: 15.79 MB / 430.1 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: 5.460631569847465]