Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.00172/0.00172, allocations: 96.25 kB / 20.96 MB, free: 3.461 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.002073/0.002073, allocations: 156.9 kB / 24.27 MB, free: 164 kB / 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 1.487/1.487, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.061e-05, allocations: 5.266 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.1848/0.1848, allocations: 26.17 MB / 298.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01995/0.2048, allocations: 13.55 MB / 311.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.2075, allocations: 62.78 kB / 312 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.2096, allocations: 0.5899 MB / 312.6 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007114/0.2167, allocations: 2.426 MB / 315 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.227, allocations: 4.026 MB / 319 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006255/0.2332, allocations: 4.165 MB / 323.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.2358, allocations: 1.067 MB / 324.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005829/0.2416, allocations: 2.061 MB / 326.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.2455, allocations: 1.656 MB / 328 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004609/0.246, allocations: 164 kB / 328.1 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005846/0.2519, allocations: 1.899 MB / 330 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.253, allocations: 0.6737 MB / 330.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.2544, allocations: 0.6314 MB / 331.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008816/0.2632, allocations: 3.977 MB / 335.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.2633, allocations: 0 / 335.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2633, allocations: 0 / 335.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.218e-05/0.2633, allocations: 0 / 335.3 MB, free: 2.367 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.006678/0.27, allocations: 2.151 MB / 337.5 MB, free: 176 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.27, allocations: 15.98 kB / 337.5 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009117/0.271, allocations: 278.7 kB / 337.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.2732, allocations: 1.056 MB / 338.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.2735, allocations: 261.2 kB / 339.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.2738, allocations: 107.9 kB / 339.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003994/0.2778, allocations: 2.224 MB / 341.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.2778, allocations: 4 kB / 341.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.278, allocations: 39.97 kB / 341.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.2782, allocations: 109.9 kB / 341.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004098/0.2823, allocations: 1.784 MB / 343.3 MB, free: 10.07 MB / 298.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.01279/0.2951, allocations: 5.111 MB / 348.4 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.2975, allocations: 1.175 MB / 349.6 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.2992, allocations: 0.7182 MB / 350.3 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005938/0.3051, allocations: 2.42 MB / 352.7 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.3052, allocations: 43.56 kB / 352.8 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009035/0.3061, allocations: 187.2 kB / 353 MB, free: 312 kB / 298.7 MB Notification: Performance of pre-optimization done (n=97): time 4.268e-06/0.3061, allocations: 0 / 353 MB, free: 312 kB / 298.7 MB Notification: Performance of matching and sorting (n=112): time 0.0214/0.3275, allocations: 5.578 MB / 358.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.3276, allocations: 141.5 kB / 358.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.3293, allocations: 1.033 MB / 359.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.3295, allocations: 45.7 kB / 359.8 MB, free: 9.438 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006497/0.3301, allocations: 0.633 MB / 360.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/0.3306, allocations: 400.5 kB / 360.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006093/0.3312, allocations: 295.4 kB / 361.1 MB, free: 8.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3314, allocations: 305.1 kB / 361.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.3328, allocations: 0.7191 MB / 362.1 MB, free: 7.082 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.3348, allocations: 1.147 MB / 363.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.3382, allocations: 1.743 MB / 365 MB, free: 3.902 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.3383, allocations: 4 kB / 365 MB, free: 3.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005043/0.3433, allocations: 2.32 MB / 367.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.3433, allocations: 8 kB / 367.3 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.3433, allocations: 12 kB / 367.3 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008015/0.3514, allocations: 1.285 MB / 368.6 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.3528, allocations: 299.6 kB / 368.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.3559, allocations: 1.607 MB / 370.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.3572, allocations: 59.97 kB / 370.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.3573, allocations: 67.97 kB / 370.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002032/0.3594, allocations: 0.984 MB / 371.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002213/0.3616, allocations: 1.135 MB / 372.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00318/0.3648, allocations: 1.722 MB / 374.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.23e-05/0.3648, allocations: 4 kB / 374.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004827/0.3696, allocations: 2.239 MB / 376.7 MB, free: 7.801 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3696, allocations: 8 kB / 376.7 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3696, allocations: 8 kB / 376.7 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007218/0.3769, allocations: 1.102 MB / 377.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.3784, allocations: 311.5 kB / 378.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.3813, allocations: 1.458 MB / 379.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.3827, allocations: 59.97 kB / 379.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.3829, allocations: 67.97 kB / 379.7 MB, free: 4.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank3.inFlow[1],tank3.regularFlow[1],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 (156): * Single equations (assignments): 155 * 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 {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 0.000551/0.3834, allocations: 276.8 kB / 380 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/0.3839, allocations: 179.1 kB / 380.2 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005016/0.3889, allocations: 2.055 MB / 382.2 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.3889, allocations: 16 kB / 382.2 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3889, allocations: 0 / 382.2 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.3889, allocations: 7.969 kB / 382.3 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007085/0.396, allocations: 3.183 MB / 385.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.396, allocations: 3.938 kB / 385.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.3971, allocations: 187.8 kB / 385.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003252/0.4003, allocations: 0.8628 MB / 386.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.4005, allocations: 31.92 kB / 386.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.4035, allocations: 1.627 MB / 388.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4035, allocations: 0 / 388.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006016/0.4095, allocations: 2.932 MB / 391.1 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009483/0.4105, allocations: 302.9 kB / 391.4 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.4108, allocations: 20 kB / 391.4 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.4119, allocations: 52.08 kB / 391.4 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.4121, allocations: 101.1 kB / 391.5 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.4123, allocations: 51.97 kB / 391.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001423/0.4137, allocations: 0.675 MB / 392.3 MB, free: 8.117 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4137, allocations: 0 / 392.3 MB, free: 8.117 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00412/0.4178, allocations: 1.165 MB / 393.4 MB, free: 6.949 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {(9,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002852/0.4207, allocations: 0.9197 MB / 394.3 MB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008047/0.4287, allocations: 2.733 MB / 397.1 MB, free: 3.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4287, allocations: 0 / 397.1 MB, free: 3.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.431, allocations: 0.8169 MB / 397.9 MB, free: 2.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/0.4344, allocations: 0.6467 MB / 398.5 MB, free: 1.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007502/0.4419, allocations: 2.931 MB / 401.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.4431, allocations: 0.7052 MB / 402.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002312/0.4454, allocations: 0.5678 MB / 402.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.4458, allocations: 116.5 kB / 402.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4458, allocations: 0 / 402.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Templates: time 0.1762/0.622, allocations: 41.25 MB / 444.1 MB, free: 123.1 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/Tanks/ThreeTanks/ThreeTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.481532800942659]