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.0008484/0.0008484, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.007035/0.007035, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 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 0.8725/0.8725, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.653e-06/1.653e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.801e-05, allocations: 3.266 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.01961/0.01964, allocations: 26.18 MB / 352 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.03405, allocations: 13.56 MB / 365.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.03542, allocations: 55.5 kB / 365.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.03669, allocations: 0.586 MB / 366.2 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004652/0.04134, allocations: 2.432 MB / 368.6 MB, free: 4.387 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007003/0.04835, allocations: 4.015 MB / 372.6 MB, free: 384 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.05284, allocations: 4.165 MB / 376.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.05432, allocations: 1.012 MB / 377.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.0572, allocations: 2.065 MB / 379.8 MB, free: 9.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.05894, allocations: 1.636 MB / 381.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.05918, allocations: 164 kB / 381.6 MB, free: 7.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.06198, allocations: 1.907 MB / 383.5 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.06249, allocations: 0.6737 MB / 384.2 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006238/0.06312, allocations: 0.6275 MB / 384.8 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.06833, allocations: 3.977 MB / 388.8 MB, free: 88 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.06833, allocations: 0 / 388.8 MB, free: 88 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.06833, allocations: 0 / 388.8 MB, free: 88 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.06835, allocations: 0 / 388.8 MB, free: 88 kB / 346.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.003164/0.07152, allocations: 2.155 MB / 391 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.07157, allocations: 11.98 kB / 391 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.07195, allocations: 179 kB / 391.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.07315, allocations: 1.002 MB / 392.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.07332, allocations: 256.2 kB / 392.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.07345, allocations: 95.97 kB / 392.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.07581, allocations: 2.217 MB / 394.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.07584, allocations: 3.938 kB / 394.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.514e-05/0.07593, allocations: 47.95 kB / 394.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.07603, allocations: 109.9 kB / 394.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.07798, allocations: 1.792 MB / 396.7 MB, free: 7.941 MB / 362.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.006692/0.08467, allocations: 5.094 MB / 401.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.0859, allocations: 1.161 MB / 402.9 MB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00071/0.08661, allocations: 0.7182 MB / 403.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003033/0.08964, allocations: 2.419 MB / 406.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.08967, allocations: 47.56 kB / 406.1 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004474/0.09012, allocations: 183.2 kB / 406.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 4.037e-06/0.09012, allocations: 3.984 kB / 406.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=112): time 0.01013/0.1003, allocations: 5.528 MB / 411.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.1003, allocations: 141.5 kB / 412 MB, free: 8.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.1014, allocations: 1.029 MB / 413 MB, free: 7.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.1015, allocations: 49.7 kB / 413 MB, free: 7.391 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.1018, allocations: 0.633 MB / 413.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.1021, allocations: 400.6 kB / 414.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/0.1024, allocations: 295.4 kB / 414.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.1025, allocations: 313 kB / 414.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.1036, allocations: 0.7231 MB / 415.4 MB, free: 5.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.1046, allocations: 1.143 MB / 416.5 MB, free: 3.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.1063, allocations: 1.739 MB / 418.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.1063, allocations: 3.938 kB / 418.3 MB, free: 1.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002704/0.109, allocations: 2.266 MB / 420.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.1091, allocations: 12 kB / 420.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.1091, allocations: 8 kB / 420.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003361/0.1124, allocations: 1.277 MB / 421.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000924/0.1134, allocations: 299.5 kB / 422.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.115, allocations: 1.611 MB / 423.7 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.1158, allocations: 59.95 kB / 423.8 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.1159, allocations: 67.97 kB / 423.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/0.1171, allocations: 0.984 MB / 424.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000941/0.118, allocations: 1.135 MB / 426 MB, free: 9.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001617/0.1196, allocations: 1.714 MB / 427.7 MB, free: 8.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.975e-06/0.1196, allocations: 4 kB / 427.7 MB, free: 8.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.002764/0.1224, allocations: 2.18 MB / 429.9 MB, free: 5.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1224, allocations: 12 kB / 429.9 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1224, allocations: 8 kB / 429.9 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/0.1253, allocations: 1.104 MB / 431 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.1261, allocations: 307.5 kB / 431.3 MB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.1275, allocations: 1.45 MB / 432.8 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000877/0.1284, allocations: 59.97 kB / 432.8 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.1285, allocations: 71.97 kB / 432.9 MB, free: 2.844 MB / 394.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.0004104/0.1289, allocations: 274.7 kB / 433.2 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.1291, allocations: 143.2 kB / 433.3 MB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.1316, allocations: 2.049 MB / 435.3 MB, free: 376 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.1316, allocations: 12 kB / 435.4 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1316, allocations: 0 / 435.4 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.1317, allocations: 11.95 kB / 435.4 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/0.1354, allocations: 3.195 MB / 438.6 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1354, allocations: 0 / 438.6 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.1359, allocations: 191.8 kB / 438.7 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.1372, allocations: 0.8551 MB / 439.6 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.1373, allocations: 35.92 kB / 439.6 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.1387, allocations: 1.619 MB / 441.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1387, allocations: 4 kB / 441.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.142, allocations: 2.885 MB / 444.1 MB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006167/0.1426, allocations: 298.9 kB / 444.4 MB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.1427, allocations: 27.98 kB / 444.5 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.1432, allocations: 43.97 kB / 444.5 MB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.1433, allocations: 101.1 kB / 444.6 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.1434, allocations: 47.97 kB / 444.7 MB, free: 6.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006241/0.144, allocations: 0.6751 MB / 445.3 MB, free: 6.281 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.144, allocations: 3.938 kB / 445.3 MB, free: 6.277 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001992/0.146, allocations: 1.173 MB / 446.5 MB, free: 5.102 MB / 410.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.001462/0.1475, allocations: 0.9181 MB / 447.4 MB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.1515, allocations: 2.719 MB / 450.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.1515, allocations: 0 / 450.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.1528, allocations: 0.8165 MB / 451 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.1546, allocations: 0.6098 MB / 451.6 MB, free: 40 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1249/0.2796, allocations: 2.964 MB / 454.5 MB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.28, allocations: 0.7074 MB / 455.2 MB, free: 120.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.2804, allocations: 136 kB / 455.4 MB, free: 120.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/0.2804, allocations: 0 / 455.4 MB, free: 120.2 MB / 410.7 MB Notification: Performance of Templates: time 0.02289/0.3033, allocations: 35.84 MB / 491.2 MB, free: 89.43 MB / 410.7 MB " [Timeout remaining time 660] 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: 7.821111265569925]