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.001641/0.001641, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001984/0.001984, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.001969/0.001969, allocations: 63.91 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2659, allocations: 53.42 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004432/0.2704, allocations: 2.776 MB / 435.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.272, allocations: 0.8645 MB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.2721, allocations: 4 kB / 436.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.2724, allocations: 83.39 kB / 436.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.2727, allocations: 134.9 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.2729, allocations: 91.78 kB / 436.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.2735, allocations: 450.3 kB / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.2737, allocations: 59.95 kB / 436.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.2739, allocations: 155.5 kB / 437 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.2742, allocations: 183.2 kB / 437.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.2742, allocations: 39.94 kB / 437.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.31e-05/0.2743, allocations: 36 kB / 437.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.357e-05/0.2744, allocations: 75.75 kB / 437.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.2746, allocations: 191.1 kB / 437.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.2751, allocations: 443.5 kB / 438 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2751, allocations: 4 kB / 438 MB, free: 1.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2751, allocations: 0 / 438 MB, free: 1.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2751, allocations: 0 / 438 MB, free: 1.191 MB / 334.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.001195/0.2763, allocations: 0.6118 MB / 438.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.2764, allocations: 16.03 kB / 438.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.767e-05/0.2765, allocations: 40.7 kB / 438.6 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.277, allocations: 250.4 kB / 438.9 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.2772, allocations: 98.11 kB / 439 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.2772, allocations: 20.36 kB / 439 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.2778, allocations: 321.7 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2778, allocations: 0 / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.2779, allocations: 12 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2779, allocations: 4 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.2783, allocations: 205.6 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.2798, allocations: 0.7704 MB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.2804, allocations: 261.5 kB / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.2806, allocations: 100.8 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.2807, allocations: 4 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.2807, allocations: 42.56 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.502e-06/0.2807, allocations: 0 / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001067/0.2818, allocations: 418.9 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/0.282, allocations: 316.4 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.2823, allocations: 284.2 kB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.2823, allocations: 33.7 kB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.2825, allocations: 176.8 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.2826, allocations: 111 kB / 442 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.2827, allocations: 69.69 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2829, allocations: 334.8 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2831, allocations: 91.95 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.2834, allocations: 220.5 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.2839, allocations: 264 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2839, allocations: 4 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006744/0.2846, allocations: 357.8 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.2847, allocations: 37.69 kB / 443.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2847, allocations: 4.094 kB / 443.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.2849, allocations: 36.94 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.2859, allocations: 163.7 kB / 443.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.29, allocations: 3.033 MB / 446.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.2903, allocations: 27.92 kB / 446.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.2904, allocations: 12 kB / 446.6 MB, free: 7.926 MB / 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.0002325/0.2906, allocations: 154.3 kB / 446.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.2907, allocations: 43.75 kB / 446.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.2908, allocations: 39.09 kB / 446.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2908, allocations: 3.984 kB / 446.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2908, allocations: 4 kB / 446.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008091/0.2916, allocations: 0.6461 MB / 447.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.2921, allocations: 360.3 kB / 447.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2921, allocations: 3.984 kB / 447.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.2934, allocations: 203.8 kB / 448.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.694e-05/0.2935, allocations: 24.78 kB / 448.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.2935, allocations: 8 kB / 448.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.2969, allocations: 2.83 MB / 450.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2969, allocations: 0 / 450.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.2978, allocations: 0.5168 MB / 451.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.298, allocations: 67.69 kB / 451.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.2981, allocations: 8 kB / 451.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.2983, allocations: 20.05 kB / 451.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.2984, allocations: 23.95 kB / 451.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.2984, allocations: 8 kB / 451.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.2987, allocations: 199.1 kB / 451.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2987, allocations: 0 / 451.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004666/0.2992, allocations: 111.8 kB / 451.9 MB, free: 2.266 MB / 350.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.00016/0.2993, allocations: 117.8 kB / 452 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.3009, allocations: 0.5257 MB / 452.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3009, allocations: 4 kB / 452.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.3024, allocations: 382.3 kB / 452.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.3029, allocations: 96.69 kB / 453 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.3048, allocations: 0.8883 MB / 453.9 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.3052, allocations: 0.776 MB / 454.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.3053, allocations: 31.42 kB / 454.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3053, allocations: 7.938 kB / 454.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01012/0.3154, allocations: 6.849 MB / 461.5 MB, free: 8.527 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.041136105079204]