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.001808/0.001808, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.00175/0.00175, allocations: 160.8 kB / 24.5 MB, free: 3.711 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.418/1.418, allocations: 177.1 MB / 204.7 MB, free: 8.961 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.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.001935/0.001935, allocations: 65.27 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09218, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.00396/0.09614, allocations: 2.581 MB / 381.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.09753, allocations: 0.81 MB / 382.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.09765, allocations: 0 / 382.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.0979, allocations: 71.42 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.09818, allocations: 138.9 kB / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.09839, allocations: 95.81 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.09893, allocations: 430.5 kB / 383 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.09909, allocations: 63.95 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.09927, allocations: 163.4 kB / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.09952, allocations: 159.2 kB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.09958, allocations: 36 kB / 383.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.09965, allocations: 36 kB / 383.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.09974, allocations: 79.69 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.09993, allocations: 159.3 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.1004, allocations: 450.2 kB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1004, allocations: 0 / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1004, allocations: 0 / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1004, allocations: 3.938 kB / 384.1 MB, free: 10.2 MB / 350.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.001121/0.1015, allocations: 0.608 MB / 384.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1016, allocations: 15.98 kB / 384.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.1017, allocations: 40.7 kB / 384.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.1021, allocations: 250.4 kB / 385 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.1022, allocations: 106.2 kB / 385.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.1023, allocations: 20.38 kB / 385.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.103, allocations: 0.6703 MB / 385.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.103, allocations: 0 / 385.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.103, allocations: 12 kB / 385.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.103, allocations: 4 kB / 385.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.1035, allocations: 197.9 kB / 386 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.1048, allocations: 0.6661 MB / 386.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.1054, allocations: 254.9 kB / 387 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.1056, allocations: 108.8 kB / 387.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1057, allocations: 8 kB / 387.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1057, allocations: 38.56 kB / 387.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.1057, allocations: 4 kB / 387.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001032/0.1067, allocations: 410.2 kB / 387.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.1069, allocations: 312.4 kB / 387.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.1072, allocations: 284.2 kB / 388.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.1073, allocations: 41.7 kB / 388.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1074, allocations: 172.8 kB / 388.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.969e-05/0.1075, allocations: 103.1 kB / 388.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1076, allocations: 65.7 kB / 388.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1078, allocations: 342.8 kB / 388.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.108, allocations: 117.7 kB / 388.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.1085, allocations: 499.3 kB / 389.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.109, allocations: 263.8 kB / 389.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.109, allocations: 0 / 389.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006945/0.1097, allocations: 403.4 kB / 390.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.1097, allocations: 29.7 kB / 390.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1097, allocations: 0 / 390.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.1099, allocations: 36.84 kB / 390.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.1109, allocations: 167.9 kB / 390.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/0.1147, allocations: 2.964 MB / 393.3 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.115, allocations: 31.88 kB / 393.3 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.115, allocations: 12 kB / 393.3 MB, free: 296 kB / 350.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.0001737/0.1152, allocations: 157.9 kB / 393.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.1153, allocations: 39.75 kB / 393.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.992e-05/0.1154, allocations: 35.17 kB / 393.5 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1154, allocations: 7.938 kB / 393.5 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1154, allocations: 192 / 393.5 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007556/0.1161, allocations: 0.6501 MB / 394.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.1165, allocations: 269.1 kB / 394.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1165, allocations: 0 / 394.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.1179, allocations: 211.7 kB / 394.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-05/0.1179, allocations: 28.84 kB / 394.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.118, allocations: 4 kB / 394.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/0.1213, allocations: 2.789 MB / 397.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1213, allocations: 4.156 kB / 397.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.1222, allocations: 0.509 MB / 398 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.1223, allocations: 59.75 kB / 398 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.1224, allocations: 11.94 kB / 398.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.1227, allocations: 15.98 kB / 398.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.1227, allocations: 23.95 kB / 398.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.1228, allocations: 12 kB / 398.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.123, allocations: 199.1 kB / 398.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.123, allocations: 4 kB / 398.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.1234, allocations: 104 kB / 398.4 MB, free: 10.8 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.0001486/0.1235, allocations: 113.2 kB / 398.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.1252, allocations: 0.5469 MB / 399.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1252, allocations: 0 / 399.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.1266, allocations: 394.3 kB / 399.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.1272, allocations: 103.9 kB / 399.5 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.1291, allocations: 0.8507 MB / 400.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1294, allocations: 177.6 kB / 400.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.1295, allocations: 34.97 kB / 400.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.1296, allocations: 36.48 kB / 400.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1296, allocations: 0 / 400.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of Templates: time 0.0134/0.143, allocations: 6.727 MB / 407.4 MB, free: 1.914 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 -s ida -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: 4.580251534003764]