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.001388/0.001388, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.00163/0.00163, allocations: 218 kB / 23.73 MB, free: 4.531 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.604/1.604, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.002082/0.002082, allocations: 59.91 kB / 378.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.258, allocations: 53.41 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01837/0.2764, allocations: 14.67 MB / 446.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.2871, allocations: 6.277 MB / 452.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009272/0.288, allocations: 31.75 kB / 452.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.2891, allocations: 322 kB / 452.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.2923, allocations: 1.12 MB / 454 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005023/0.2973, allocations: 1.813 MB / 455.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003314/0.3006, allocations: 2.214 MB / 458.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009825/0.3016, allocations: 0.5024 MB / 458.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.3032, allocations: 0.8372 MB / 459.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.3046, allocations: 0.8407 MB / 460.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.3048, allocations: 80 kB / 460.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.3073, allocations: 1.022 MB / 461.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.3077, allocations: 318.9 kB / 461.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005197/0.3083, allocations: 390.4 kB / 462 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.3111, allocations: 1.838 MB / 463.9 MB, free: 6.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3111, allocations: 0 / 463.9 MB, free: 6.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3111, allocations: 4 kB / 463.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.3112, allocations: 0 / 463.9 MB, free: 6.184 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.002797/0.314, allocations: 1.216 MB / 465.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.314, allocations: 19.98 kB / 465.1 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.3143, allocations: 96.38 kB / 465.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.3155, allocations: 0.5712 MB / 465.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.3156, allocations: 156.1 kB / 465.9 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.3157, allocations: 59.94 kB / 466 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.3175, allocations: 1.172 MB / 467.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.3175, allocations: 4 kB / 467.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.3176, allocations: 27.92 kB / 467.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.429e-05/0.3177, allocations: 53.27 kB / 467.2 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.3192, allocations: 0.8405 MB / 468.1 MB, free: 1.793 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.005559/0.3247, allocations: 2.586 MB / 470.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3258, allocations: 0.6333 MB / 471.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/0.3264, allocations: 346.2 kB / 471.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002658/0.329, allocations: 1.197 MB / 472.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.329, allocations: 47 kB / 472.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.134e-06/0.3291, allocations: 0 / 472.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007163/0.3362, allocations: 2.686 MB / 475.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.3363, allocations: 81.77 kB / 475.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/0.337, allocations: 0.5535 MB / 476.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.3371, allocations: 37.7 kB / 476.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.3374, allocations: 364.7 kB / 476.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.3376, allocations: 238 kB / 476.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.3379, allocations: 146.6 kB / 477 MB, free: 8.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3381, allocations: 378.7 kB / 477.3 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.3387, allocations: 376.6 kB / 477.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008424/0.3396, allocations: 0.5442 MB / 478.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.341, allocations: 0.8641 MB / 479.1 MB, free: 6.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.341, allocations: 4 kB / 479.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002087/0.3431, allocations: 1.15 MB / 480.3 MB, free: 5.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3431, allocations: 15.92 kB / 480.3 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3431, allocations: 4 kB / 480.3 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.3444, allocations: 448.6 kB / 480.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.3451, allocations: 151.8 kB / 480.9 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.3464, allocations: 1.036 MB / 481.9 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.347, allocations: 28.03 kB / 481.9 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.3471, allocations: 35.98 kB / 482 MB, free: 3.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009284/0.348, allocations: 0.5331 MB / 482.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008099/0.3488, allocations: 0.5368 MB / 483 MB, free: 2.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.3502, allocations: 0.8494 MB / 483.9 MB, free: 1.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.3502, allocations: 4 kB / 483.9 MB, free: 1.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002042/0.3522, allocations: 1.083 MB / 485 MB, free: 424 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3522, allocations: 12 kB / 485 MB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3523, allocations: 4 kB / 485 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007497/0.353, allocations: 316.6 kB / 485.3 MB, free: 88 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.3537, allocations: 163.8 kB / 485.5 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.3548, allocations: 0.9112 MB / 486.4 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.3554, allocations: 32.03 kB / 486.4 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.3555, allocations: 31.98 kB / 486.4 MB, free: 14.93 MB / 398.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.0003232/0.3558, allocations: 224.1 kB / 486.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.3559, allocations: 75.58 kB / 486.7 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.358, allocations: 1.075 MB / 487.8 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.358, allocations: 11.94 kB / 487.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.358, allocations: 0 / 487.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.3581, allocations: 7.984 kB / 487.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.3613, allocations: 1.782 MB / 489.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3613, allocations: 0 / 489.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.3619, allocations: 119.8 kB / 489.7 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.3631, allocations: 444.5 kB / 490.2 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.3632, allocations: 23.98 kB / 490.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.3645, allocations: 1.023 MB / 491.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3645, allocations: 0 / 491.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.3671, allocations: 1.597 MB / 492.8 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/0.3675, allocations: 155.4 kB / 493 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.3676, allocations: 12 kB / 493 MB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.3681, allocations: 31.97 kB / 493 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.3683, allocations: 56.55 kB / 493.1 MB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.3684, allocations: 31.98 kB / 493.1 MB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004956/0.3689, allocations: 382.8 kB / 493.5 MB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3689, allocations: 0 / 493.5 MB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001555/0.3704, allocations: 0.5809 MB / 494 MB, free: 7.219 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.001046/0.3715, allocations: 493.8 kB / 494.5 MB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.3745, allocations: 1.325 MB / 495.8 MB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3745, allocations: 0 / 495.8 MB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000978/0.3754, allocations: 435.5 kB / 496.3 MB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.3771, allocations: 366.2 kB / 496.6 MB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.3806, allocations: 1.741 MB / 498.4 MB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.381, allocations: 396.4 kB / 498.8 MB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009566/0.3819, allocations: 305.8 kB / 499.1 MB, free: 2.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.3821, allocations: 67.42 kB / 499.1 MB, free: 2.078 MB / 398.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3821, allocations: 0 / 499.1 MB, free: 2.078 MB / 398.1 MB Notification: Performance of Templates: time 0.03928/0.4214, allocations: 23.02 MB / 0.5099 GB, free: 11.31 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.532049933448434]