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.001363/0.001363, allocations: 89.53 kB / 20.69 MB, free: 1.02 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.001391/0.001391, allocations: 161.5 kB / 23.95 MB, free: 4.152 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.453/1.453, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.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 2.043e-06/2.043e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.691e-05, allocations: 7.469 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.02172/0.02175, allocations: 14.58 MB / 339.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.03364, allocations: 6.289 MB / 345.9 MB, free: 172 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.03484, allocations: 31.69 kB / 345.9 MB, free: 140 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.03625, allocations: 329.9 kB / 346.2 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004365/0.04062, allocations: 1.157 MB / 347.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007847/0.04847, allocations: 1.888 MB / 349.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004925/0.05339, allocations: 2.17 MB / 351.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.05493, allocations: 0.5101 MB / 351.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.05858, allocations: 1.06 MB / 353 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.06096, allocations: 0.7753 MB / 353.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004219/0.06139, allocations: 80 kB / 353.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.06531, allocations: 1.026 MB / 354.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007656/0.06608, allocations: 350.9 kB / 355.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.06711, allocations: 327.2 kB / 355.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005047/0.07215, allocations: 2.01 MB / 357.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.07216, allocations: 0 / 357.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.07216, allocations: 0 / 357.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.057e-05/0.0722, allocations: 0 / 357.6 MB, free: 4.441 MB / 318.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.005013/0.07721, allocations: 1.208 MB / 358.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.07726, allocations: 11.98 kB / 358.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006503/0.07792, allocations: 108.4 kB / 358.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.07967, allocations: 0.5674 MB / 359.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.0799, allocations: 156 kB / 359.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.08011, allocations: 55.98 kB / 359.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.08294, allocations: 1.168 MB / 360.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.08298, allocations: 7.953 kB / 360.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.08312, allocations: 23.98 kB / 360.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/0.08326, allocations: 53.27 kB / 360.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.08576, allocations: 0.8405 MB / 361.7 MB, free: 76 kB / 318.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.008112/0.09387, allocations: 2.591 MB / 364.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.09554, allocations: 0.6227 MB / 365 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009132/0.09645, allocations: 342.2 kB / 365.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003873/0.1003, allocations: 1.197 MB / 366.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.1004, allocations: 39.06 kB / 366.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 2.916e-06/0.1004, allocations: 4 kB / 366.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.008044/0.1084, allocations: 2.686 MB / 369.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.1085, allocations: 81.77 kB / 369.3 MB, free: 8.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.1093, allocations: 0.5496 MB / 369.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.1094, allocations: 37.7 kB / 369.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.1097, allocations: 372.6 kB / 370.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.1099, allocations: 230 kB / 370.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.1102, allocations: 158.6 kB / 370.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.1104, allocations: 382.6 kB / 371 MB, free: 6.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/0.1111, allocations: 372.6 kB / 371.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008668/0.112, allocations: 0.5403 MB / 371.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.1135, allocations: 0.8603 MB / 372.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1135, allocations: 0 / 372.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002267/0.1157, allocations: 1.15 MB / 373.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1157, allocations: 8 kB / 373.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1158, allocations: 8.031 kB / 373.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.1172, allocations: 452.4 kB / 374.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.1179, allocations: 159.7 kB / 374.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.1193, allocations: 1.024 MB / 375.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005897/0.1199, allocations: 32.02 kB / 375.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/0.12, allocations: 35.97 kB / 375.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009623/0.1209, allocations: 0.5292 MB / 376.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008484/0.1218, allocations: 0.5372 MB / 376.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001514/0.1233, allocations: 0.8415 MB / 377.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.1233, allocations: 4 kB / 377.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00222/0.1255, allocations: 1.095 MB / 378.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1255, allocations: 4 kB / 378.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1255, allocations: 4 kB / 378.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007488/0.1263, allocations: 313.3 kB / 378.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/0.1271, allocations: 163.7 kB / 379.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1283, allocations: 0.9114 MB / 380 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/0.1289, allocations: 36.02 kB / 380 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.129, allocations: 31.94 kB / 380.1 MB, free: 13.21 MB / 350.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.0002721/0.1293, allocations: 232.1 kB / 380.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.1294, allocations: 71.58 kB / 380.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.1317, allocations: 1.079 MB / 381.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.1317, allocations: 8 kB / 381.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1317, allocations: 0 / 381.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.1317, allocations: 7.922 kB / 381.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.1353, allocations: 1.778 MB / 383.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1353, allocations: 0 / 383.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.136, allocations: 119.8 kB / 383.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.1375, allocations: 444.5 kB / 383.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.1375, allocations: 19.94 kB / 383.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.1392, allocations: 1.027 MB / 384.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1392, allocations: 0 / 384.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002906/0.1421, allocations: 1.585 MB / 386.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.1426, allocations: 167.4 kB / 386.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.1427, allocations: 12 kB / 386.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005518/0.1433, allocations: 23.98 kB / 386.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.1434, allocations: 56.55 kB / 386.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.191e-05/0.1435, allocations: 27.98 kB / 386.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005404/0.1441, allocations: 378.8 kB / 387.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1441, allocations: 0 / 387.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001696/0.1458, allocations: 0.5887 MB / 387.7 MB, free: 5.512 MB / 350.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.001389/0.1472, allocations: 0.5172 MB / 388.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.1503, allocations: 1.327 MB / 389.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1503, allocations: 4.062 kB / 389.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.1514, allocations: 447.3 kB / 390 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.1531, allocations: 368.9 kB / 390.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.1565, allocations: 1.591 MB / 391.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.157, allocations: 412.3 kB / 392.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009269/0.1579, allocations: 293.9 kB / 392.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.1582, allocations: 68.48 kB / 392.7 MB, free: 480 kB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1582, allocations: 0 / 392.7 MB, free: 480 kB / 350.1 MB Notification: Performance of Templates: time 0.04347/0.2016, allocations: 21.92 MB / 414.6 MB, free: 10.78 MB / 382.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.531479500234127]