Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001693/0.001693, allocations: 116.8 kB / 19.18 MB, free: 3.926 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.002219/0.002219, allocations: 210.6 kB / 22.13 MB, free: 0.9805 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.457/1.457, allocations: 230.2 MB / 255.1 MB, free: 15.4 MB / 206.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.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 68.12 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1034, allocations: 53.32 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004569/0.108, allocations: 2.777 MB / 430.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1097, allocations: 0.8606 MB / 431.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.11, allocations: 8 kB / 431.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.1103, allocations: 67.42 kB / 431.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.1108, allocations: 138.9 kB / 431.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.111, allocations: 91.83 kB / 431.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.1117, allocations: 434.4 kB / 432.2 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.1119, allocations: 67.38 kB / 432.2 MB, free: 60 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.1122, allocations: 159.4 kB / 432.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.1125, allocations: 179.3 kB / 432.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.1126, allocations: 36 kB / 432.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.1126, allocations: 32 kB / 432.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.1127, allocations: 71.77 kB / 432.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.1129, allocations: 199 kB / 432.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.1135, allocations: 446.2 kB / 433.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1135, allocations: 4 kB / 433.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1135, allocations: 4 kB / 433.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.1135, allocations: 0 / 433.3 MB, free: 14.95 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001326/0.1148, allocations: 0.6793 MB / 434 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1149, allocations: 15.97 kB / 434 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.115, allocations: 44.7 kB / 434.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.1155, allocations: 307.6 kB / 434.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.1156, allocations: 46.69 kB / 434.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.1157, allocations: 24.38 kB / 434.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.1163, allocations: 321.6 kB / 434.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.1163, allocations: 7.984 kB / 434.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.1163, allocations: 8 kB / 434.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1163, allocations: 8 kB / 434.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.1168, allocations: 205.6 kB / 435 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.1184, allocations: 0.7949 MB / 435.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.119, allocations: 257.5 kB / 436 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.1192, allocations: 104.8 kB / 436.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.1192, allocations: 8 kB / 436.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.1193, allocations: 42.56 kB / 436.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.625e-06/0.1193, allocations: 0 / 436.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001116/0.1204, allocations: 479.3 kB / 436.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.1206, allocations: 312.4 kB / 437 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.1209, allocations: 291 kB / 437.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.1209, allocations: 33.7 kB / 437.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1211, allocations: 172.8 kB / 437.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.1212, allocations: 115 kB / 437.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1213, allocations: 65.7 kB / 437.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1215, allocations: 338.8 kB / 438 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1217, allocations: 91.95 kB / 438 MB, free: 9.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.122, allocations: 208.2 kB / 438.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.1225, allocations: 270.6 kB / 438.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1225, allocations: 4 kB / 438.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006831/0.1232, allocations: 361.8 kB / 438.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.1232, allocations: 41.62 kB / 438.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1232, allocations: 4.094 kB / 438.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.1234, allocations: 36.84 kB / 439 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/0.1244, allocations: 159.8 kB / 439.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/0.1283, allocations: 3.229 MB / 442.3 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.1287, allocations: 35.95 kB / 442.4 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.1287, allocations: 15.88 kB / 442.4 MB, free: 5.195 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(3,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.1289, allocations: 153.8 kB / 442.5 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.129, allocations: 39.75 kB / 442.6 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.1291, allocations: 39.03 kB / 442.6 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1291, allocations: 11.98 kB / 442.6 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1291, allocations: 0 / 442.6 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007546/0.1299, allocations: 0.6462 MB / 443.3 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.1304, allocations: 389.4 kB / 443.7 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.1304, allocations: 4 kB / 443.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.1317, allocations: 207.7 kB / 443.9 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.167e-05/0.1318, allocations: 24.84 kB / 443.9 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.1318, allocations: 4 kB / 443.9 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.1352, allocations: 3.037 MB / 446.9 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1352, allocations: 3.984 kB / 446.9 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1999/0.3351, allocations: 0.4985 MB / 447.4 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.3353, allocations: 138.2 kB / 447.6 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.3354, allocations: 11.66 kB / 447.6 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.3357, allocations: 17.02 kB / 447.6 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3358, allocations: 23.47 kB / 447.6 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.3358, allocations: 8.016 kB / 447.6 MB, free: 24.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.336, allocations: 201.4 kB / 447.8 MB, free: 24.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.336, allocations: 0 / 447.8 MB, free: 24.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.3365, allocations: 107 kB / 447.9 MB, free: 24.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001323/0.3367, allocations: 107.3 kB / 448 MB, free: 24.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3381, allocations: 0.533 MB / 448.6 MB, free: 24.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3381, allocations: 3.062 kB / 448.6 MB, free: 24.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.3394, allocations: 388.6 kB / 448.9 MB, free: 24.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.3399, allocations: 84.53 kB / 449 MB, free: 24.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3415, allocations: 0.8976 MB / 449.9 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3417, allocations: 0.776 MB / 450.7 MB, free: 23.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.3418, allocations: 27.62 kB / 450.7 MB, free: 23.09 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3418, allocations: 8.219 kB / 450.7 MB, free: 23.09 MB / 366.1 MB Notification: Performance of Templates: time 0.01102/0.3528, allocations: 6.86 MB / 457.6 MB, free: 22.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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: 8.064577793935314]