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.001317/0.001317, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001456/0.001456, allocations: 164.1 kB / 24.5 MB, free: 3.453 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.434/1.434, allocations: 177.1 MB / 204.7 MB, free: 8.992 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 0.00194/0.00194, allocations: 60.17 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.0993, allocations: 53.39 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01811/0.1174, allocations: 14.68 MB / 393.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.1277, allocations: 6.283 MB / 399.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.1284, allocations: 35.69 kB / 399.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00095/0.1294, allocations: 318 kB / 400.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.1323, allocations: 1.116 MB / 401.3 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004432/0.1368, allocations: 1.815 MB / 403.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.1397, allocations: 2.214 MB / 405.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.1405, allocations: 0.5025 MB / 405.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.1419, allocations: 0.841 MB / 406.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.1432, allocations: 0.8291 MB / 407.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.1433, allocations: 80 kB / 407.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.1454, allocations: 1.014 MB / 408.6 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.1458, allocations: 331 kB / 408.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004897/0.1463, allocations: 390.4 kB / 409.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.1489, allocations: 1.83 MB / 411.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1489, allocations: 0 / 411.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1489, allocations: 0 / 411.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1489, allocations: 0 / 411.1 MB, free: 15.14 MB / 382.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.002749/0.1517, allocations: 1.224 MB / 412.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1517, allocations: 15.92 kB / 412.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.152, allocations: 104.4 kB / 412.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1531, allocations: 0.5673 MB / 413.1 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.1533, allocations: 160.1 kB / 413.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.1534, allocations: 55.92 kB / 413.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.1551, allocations: 1.168 MB / 414.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.1551, allocations: 7.984 kB / 414.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.1552, allocations: 23.98 kB / 414.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.239e-05/0.1553, allocations: 53.22 kB / 414.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.1568, allocations: 0.8365 MB / 415.4 MB, free: 10.75 MB / 382.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.005564/0.1623, allocations: 2.602 MB / 418 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.1635, allocations: 0.6266 MB / 418.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.164, allocations: 338.2 kB / 418.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002699/0.1667, allocations: 1.205 MB / 420.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.1668, allocations: 43.05 kB / 420.2 MB, free: 5.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.074e-06/0.1668, allocations: 0 / 420.2 MB, free: 5.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007574/0.1744, allocations: 2.694 MB / 422.9 MB, free: 3.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.1744, allocations: 85.77 kB / 422.9 MB, free: 3.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.1752, allocations: 0.5457 MB / 423.5 MB, free: 2.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.1753, allocations: 41.7 kB / 423.5 MB, free: 2.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.1756, allocations: 360.7 kB / 423.9 MB, free: 2.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.1759, allocations: 237.9 kB / 424.1 MB, free: 1.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.1761, allocations: 154.6 kB / 424.3 MB, free: 1.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1763, allocations: 378.7 kB / 424.6 MB, free: 1.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006727/0.177, allocations: 368.6 kB / 425 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.1778, allocations: 0.552 MB / 425.5 MB, free: 320 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.1793, allocations: 0.8603 MB / 426.4 MB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1793, allocations: 0 / 426.4 MB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00224/0.1816, allocations: 1.142 MB / 427.5 MB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1816, allocations: 7.938 kB / 427.6 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.1816, allocations: 4 kB / 427.6 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.1831, allocations: 460.9 kB / 428 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.1838, allocations: 159.8 kB / 428.2 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.1853, allocations: 1.024 MB / 429.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/0.1859, allocations: 28.03 kB / 429.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.186, allocations: 39.98 kB / 429.3 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009295/0.1869, allocations: 0.533 MB / 429.8 MB, free: 11.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008141/0.1877, allocations: 0.5333 MB / 430.3 MB, free: 11.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001405/0.1891, allocations: 0.8455 MB / 431.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.94e-06/0.1891, allocations: 0 / 431.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002198/0.1913, allocations: 1.095 MB / 432.3 MB, free: 9.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1913, allocations: 8 kB / 432.3 MB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1914, allocations: 4 kB / 432.3 MB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008009/0.1922, allocations: 317 kB / 432.6 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.1929, allocations: 167.7 kB / 432.7 MB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.1941, allocations: 0.9074 MB / 433.7 MB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.1947, allocations: 27.98 kB / 433.7 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.451e-05/0.1947, allocations: 35.98 kB / 433.7 MB, free: 7.867 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.0003079/0.1951, allocations: 228.1 kB / 433.9 MB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.1953, allocations: 67.58 kB / 434 MB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.1975, allocations: 1.083 MB / 435.1 MB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.1975, allocations: 7.938 kB / 435.1 MB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.1975, allocations: 7.984 kB / 435.1 MB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1975, allocations: 0 / 435.1 MB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.2014, allocations: 1.782 MB / 436.9 MB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.2014, allocations: 8 kB / 436.9 MB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.202, allocations: 115.9 kB / 437 MB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.2032, allocations: 447.9 kB / 437.4 MB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.2033, allocations: 15.98 kB / 437.5 MB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.2046, allocations: 1.028 MB / 438.5 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2046, allocations: 0 / 438.5 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.2073, allocations: 1.585 MB / 440.1 MB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.2077, allocations: 159.5 kB / 440.2 MB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.2079, allocations: 16 kB / 440.2 MB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/0.2084, allocations: 19.98 kB / 440.3 MB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.2086, allocations: 64.48 kB / 440.3 MB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.2087, allocations: 31.97 kB / 440.4 MB, free: 1.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005295/0.2092, allocations: 378.8 kB / 440.7 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2092, allocations: 0 / 440.7 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001716/0.2109, allocations: 0.5887 MB / 441.3 MB, free: 160 kB / 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.001214/0.2121, allocations: 485.9 kB / 441.8 MB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003113/0.2152, allocations: 1.322 MB / 443.1 MB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2152, allocations: 0.6875 kB / 443.1 MB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.2163, allocations: 443.5 kB / 443.5 MB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.218, allocations: 362.6 kB / 443.9 MB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.2215, allocations: 1.73 MB / 445.6 MB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.222, allocations: 404.5 kB / 446 MB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000994/0.223, allocations: 293.8 kB / 446.3 MB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.2232, allocations: 72.42 kB / 446.4 MB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2232, allocations: 0 / 446.4 MB, free: 11.04 MB / 414.1 MB Notification: Performance of Templates: time 0.0399/0.2631, allocations: 22.01 MB / 468.4 MB, free: 5.254 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 -s ida -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: 5.301809721975587]