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.001359/0.001359, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001422/0.001422, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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 1.699/1.699, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001662/0.001662, allocations: 47.92 kB / 378.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3359, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01853/0.3544, allocations: 14.67 MB / 447 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.3647, allocations: 6.282 MB / 453.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008404/0.3656, allocations: 31.75 kB / 453.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009887/0.3666, allocations: 322 kB / 453.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.3695, allocations: 1.116 MB / 454.7 MB, free: 224 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004526/0.374, allocations: 1.818 MB / 456.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.3771, allocations: 2.233 MB / 458.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008423/0.3779, allocations: 0.5102 MB / 459.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.3794, allocations: 0.8488 MB / 460.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.3807, allocations: 0.8525 MB / 461 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.3809, allocations: 80 kB / 461.1 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.3834, allocations: 1.065 MB / 462.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.3838, allocations: 327 kB / 462.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004829/0.3843, allocations: 394.3 kB / 462.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.387, allocations: 1.834 MB / 464.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.387, allocations: 0 / 464.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.387, allocations: 0 / 464.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.387, allocations: 0 / 464.7 MB, free: 6.25 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.002997/0.39, allocations: 1.22 MB / 465.9 MB, free: 4.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.39, allocations: 8.031 kB / 465.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.3904, allocations: 104.3 kB / 466 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.3915, allocations: 0.5673 MB / 466.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.3917, allocations: 160.1 kB / 466.7 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.3918, allocations: 63.94 kB / 466.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.3935, allocations: 1.168 MB / 468 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3935, allocations: 0 / 468 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/0.3936, allocations: 23.98 kB / 468 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.603e-05/0.3937, allocations: 49.28 kB / 468 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.3951, allocations: 0.8405 MB / 468.9 MB, free: 1.871 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.005708/0.4008, allocations: 2.602 MB / 471.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.4019, allocations: 0.6151 MB / 472.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/0.4025, allocations: 350 kB / 472.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/0.4052, allocations: 1.201 MB / 473.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.4052, allocations: 39.06 kB / 473.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.094e-06/0.4052, allocations: 4 kB / 473.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007373/0.4126, allocations: 2.693 MB / 476.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.4127, allocations: 85.77 kB / 476.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007187/0.4134, allocations: 0.5496 MB / 477 MB, free: 9.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.4135, allocations: 41.64 kB / 477 MB, free: 9.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.4138, allocations: 356.7 kB / 477.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.414, allocations: 246 kB / 477.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.4143, allocations: 146.6 kB / 477.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4145, allocations: 378.7 kB / 478.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006876/0.4152, allocations: 372.6 kB / 478.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.4162, allocations: 0.5403 MB / 479 MB, free: 7.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.418, allocations: 0.868 MB / 479.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.418, allocations: 0 / 479.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00216/0.4201, allocations: 1.153 MB / 481.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4202, allocations: 4 kB / 481.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4202, allocations: 8 kB / 481.1 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/0.422, allocations: 444.9 kB / 481.5 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.423, allocations: 167.7 kB / 481.7 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.4244, allocations: 1.021 MB / 482.7 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000629/0.425, allocations: 32.03 kB / 482.7 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.4251, allocations: 35.98 kB / 482.8 MB, free: 3.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000893/0.426, allocations: 0.5331 MB / 483.3 MB, free: 3.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007782/0.4267, allocations: 0.5294 MB / 483.8 MB, free: 2.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001364/0.4281, allocations: 0.8532 MB / 484.7 MB, free: 1.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.4281, allocations: 4 kB / 484.7 MB, free: 1.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002037/0.4302, allocations: 1.083 MB / 485.8 MB, free: 500 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4302, allocations: 11.98 kB / 485.8 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.4302, allocations: 4 kB / 485.8 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000797/0.431, allocations: 316.8 kB / 486.1 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007563/0.4317, allocations: 171.8 kB / 486.3 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.4329, allocations: 0.9112 MB / 487.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.4335, allocations: 28.03 kB / 487.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.4335, allocations: 31.98 kB / 487.2 MB, free: 15 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.0003361/0.4339, allocations: 232.1 kB / 487.5 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.4341, allocations: 67.58 kB / 487.5 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.4363, allocations: 1.083 MB / 488.6 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.4363, allocations: 11.94 kB / 488.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4363, allocations: 0 / 488.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4363, allocations: 3.984 kB / 488.6 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.4395, allocations: 1.778 MB / 490.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4395, allocations: 0 / 490.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.4402, allocations: 123.8 kB / 490.5 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/0.4414, allocations: 440.5 kB / 490.9 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/0.4415, allocations: 19.98 kB / 491 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.4429, allocations: 1.024 MB / 492 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.4429, allocations: 0 / 492 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.4456, allocations: 1.597 MB / 493.6 MB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.4461, allocations: 159.4 kB / 493.7 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.4462, allocations: 15.94 kB / 493.8 MB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005518/0.4467, allocations: 35.97 kB / 493.8 MB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.4469, allocations: 56.55 kB / 493.9 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.447, allocations: 23.98 kB / 493.9 MB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005393/0.4475, allocations: 386.8 kB / 494.3 MB, free: 7.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4475, allocations: 0 / 494.3 MB, free: 7.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001814/0.4493, allocations: 0.5809 MB / 494.8 MB, free: 7.285 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.001216/0.4506, allocations: 485.9 kB / 495.3 MB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.4537, allocations: 1.33 MB / 496.6 MB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.4537, allocations: 0 / 496.6 MB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.4547, allocations: 435.5 kB / 497.1 MB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.4564, allocations: 364.6 kB / 497.4 MB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.46, allocations: 1.74 MB / 499.2 MB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.4605, allocations: 404.4 kB / 499.6 MB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.4615, allocations: 293.9 kB / 499.8 MB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.4618, allocations: 67.42 kB / 499.9 MB, free: 2.156 MB / 398.1 MB Notification: Performance of SimCode: time 2.043e-06/0.4618, allocations: 0 / 499.9 MB, free: 2.156 MB / 398.1 MB Notification: Performance of Templates: time 0.04105/0.5028, allocations: 23.3 MB / 0.5109 GB, free: 11.16 MB / 430.1 MB " [Timeout remaining time 659] 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 -s cvode -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/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_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.886690162005834]