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.001858/0.001858, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002242/0.002242, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.467/1.467, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.002152/0.002152, allocations: 59.89 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2711, allocations: 53.42 MB / 432.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.02464/0.2957, allocations: 14.66 MB / 447 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.3074, allocations: 6.274 MB / 453.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008772/0.3082, allocations: 39.69 kB / 453.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009952/0.3092, allocations: 322 kB / 453.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.3124, allocations: 1.116 MB / 454.8 MB, free: 4 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004833/0.3172, allocations: 1.813 MB / 456.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.3205, allocations: 2.214 MB / 458.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009112/0.3214, allocations: 0.5043 MB / 459.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.3231, allocations: 0.8449 MB / 460.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.3244, allocations: 0.8407 MB / 461 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.3246, allocations: 80 kB / 461.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.3269, allocations: 1.014 MB / 462.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.3273, allocations: 323 kB / 462.4 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.3278, allocations: 386.4 kB / 462.8 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.3306, allocations: 1.834 MB / 464.6 MB, free: 6.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3306, allocations: 0 / 464.6 MB, free: 6.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3307, allocations: 0 / 464.6 MB, free: 6.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.3307, allocations: 4 kB / 464.6 MB, free: 6.141 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.002699/0.3334, allocations: 1.224 MB / 465.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3334, allocations: 15.98 kB / 465.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.3338, allocations: 100.4 kB / 466 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.3349, allocations: 0.5673 MB / 466.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.335, allocations: 160.1 kB / 466.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3351, allocations: 51.98 kB / 466.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.3368, allocations: 1.18 MB / 467.9 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.3368, allocations: 3.953 kB / 467.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.3369, allocations: 23.98 kB / 467.9 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.951e-05/0.337, allocations: 53.28 kB / 468 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.3384, allocations: 0.8404 MB / 468.8 MB, free: 1.746 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.005321/0.3438, allocations: 2.586 MB / 471.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3448, allocations: 0.6229 MB / 472 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.3454, allocations: 342.2 kB / 472.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00252/0.3479, allocations: 1.201 MB / 473.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.3479, allocations: 39.06 kB / 473.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.073e-06/0.3479, allocations: 0 / 473.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007045/0.355, allocations: 2.697 MB / 476.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.355, allocations: 89.77 kB / 476.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.3558, allocations: 0.5457 MB / 477 MB, free: 9.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.3558, allocations: 41.7 kB / 477 MB, free: 9.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.3561, allocations: 360.7 kB / 477.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.3563, allocations: 241.9 kB / 477.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.3566, allocations: 154.6 kB / 477.7 MB, free: 8.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3568, allocations: 378.7 kB / 478.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/0.3574, allocations: 368.6 kB / 478.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000789/0.3582, allocations: 0.5481 MB / 479 MB, free: 7.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.3595, allocations: 0.8679 MB / 479.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3595, allocations: 0 / 479.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002087/0.3616, allocations: 1.15 MB / 481 MB, free: 5.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3617, allocations: 6.656 kB / 481 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.3617, allocations: 7.938 kB / 481 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.363, allocations: 448.6 kB / 481.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.3636, allocations: 159.8 kB / 481.6 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3651, allocations: 1.024 MB / 482.7 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.3657, allocations: 40.03 kB / 482.7 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.3657, allocations: 31.98 kB / 482.7 MB, free: 3.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009245/0.3667, allocations: 0.5292 MB / 483.3 MB, free: 2.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008339/0.3675, allocations: 0.5407 MB / 483.8 MB, free: 2.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001461/0.369, allocations: 0.8455 MB / 484.6 MB, free: 1.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.369, allocations: 0 / 484.6 MB, free: 1.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002256/0.3712, allocations: 1.095 MB / 485.7 MB, free: 372 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3712, allocations: 16.08 kB / 485.8 MB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3712, allocations: 4 kB / 485.8 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008251/0.3721, allocations: 308.7 kB / 486.1 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.3728, allocations: 171.7 kB / 486.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.374, allocations: 0.9035 MB / 487.1 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.3746, allocations: 28.03 kB / 487.2 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.417e-05/0.3747, allocations: 35.98 kB / 487.2 MB, free: 14.88 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.0003213/0.375, allocations: 228.7 kB / 487.4 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.3752, allocations: 71.58 kB / 487.5 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.3775, allocations: 1.079 MB / 488.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.3775, allocations: 11.94 kB / 488.6 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3775, allocations: 4 kB / 488.6 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3775, allocations: 3.984 kB / 488.6 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.3811, allocations: 1.778 MB / 490.4 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3811, allocations: 4 kB / 490.4 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.3817, allocations: 115.9 kB / 490.5 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.3829, allocations: 447.8 kB / 490.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-05/0.383, allocations: 15.98 kB / 490.9 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.3843, allocations: 1.031 MB / 492 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3843, allocations: 0 / 492 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.387, allocations: 1.589 MB / 493.6 MB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.3875, allocations: 159.4 kB / 493.7 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.3877, allocations: 16 kB / 493.7 MB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.3882, allocations: 23.97 kB / 493.7 MB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3884, allocations: 60.55 kB / 493.8 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/0.3885, allocations: 27.98 kB / 493.8 MB, free: 8.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000642/0.3891, allocations: 386.8 kB / 494.2 MB, free: 7.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3891, allocations: 0 / 494.2 MB, free: 7.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001741/0.3908, allocations: 0.5849 MB / 494.8 MB, free: 7.172 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.001259/0.3921, allocations: 489.8 kB / 495.3 MB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.3952, allocations: 1.322 MB / 496.6 MB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3953, allocations: 0 / 496.6 MB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009849/0.3962, allocations: 435.5 kB / 497 MB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.398, allocations: 354.3 kB / 497.4 MB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.4018, allocations: 1.791 MB / 499.2 MB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.4023, allocations: 400.4 kB / 499.6 MB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.4025, allocations: 79.41 kB / 499.6 MB, free: 2.277 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4025, allocations: 0 / 499.6 MB, free: 2.277 MB / 398.1 MB Notification: Performance of Templates: time 0.02998/0.4325, allocations: 18.95 MB / 0.5064 GB, free: 15.39 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins1/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: 10.056070569902658]