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.001818/0.001818, allocations: 89.3 kB / 20.68 MB, free: 1.023 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.002204/0.002204, allocations: 158.2 kB / 23.95 MB, free: 4.148 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.51/1.51, allocations: 177 MB / 204.1 MB, free: 9.168 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 1.292e-06/1.292e-06, allocations: 0 / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.046e-05, allocations: 3.219 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003664/0.003684, allocations: 2.559 MB / 327.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.005211, allocations: 0.822 MB / 328.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.005347, allocations: 1.312 kB / 328.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.005614, allocations: 68.03 kB / 328.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.005952, allocations: 145.5 kB / 328.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.006182, allocations: 96.86 kB / 328.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000597/0.006779, allocations: 457 kB / 329.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.006951, allocations: 60.8 kB / 329.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.007271, allocations: 240.4 kB / 329.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.007527, allocations: 133.1 kB / 329.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.007595, allocations: 34.5 kB / 329.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.843e-05/0.007674, allocations: 34.78 kB / 329.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.00779, allocations: 78.88 kB / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.007981, allocations: 142.7 kB / 329.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.008538, allocations: 457.9 kB / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.008541, allocations: 1.094 kB / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008542, allocations: 0 / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.008547, allocations: 0 / 330.3 MB, free: 13.29 MB / 302.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.001143/0.00969, allocations: 0.6148 MB / 330.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.009726, allocations: 13.27 kB / 330.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.503e-05/0.009821, allocations: 43.55 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.01025, allocations: 246.1 kB / 331.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.01039, allocations: 102.8 kB / 331.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.01044, allocations: 18.78 kB / 331.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/0.01122, allocations: 0.6679 MB / 332 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.01124, allocations: 192 / 332 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.01128, allocations: 12.16 kB / 332 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01129, allocations: 8.844 kB / 332 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.01177, allocations: 198.7 kB / 332.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.01317, allocations: 0.6639 MB / 332.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.01377, allocations: 254.7 kB / 333.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.01399, allocations: 108.2 kB / 333.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.01403, allocations: 8.047 kB / 333.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.01406, allocations: 42 kB / 333.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.01406, allocations: 0 / 333.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001088/0.01515, allocations: 414.4 kB / 333.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001823/0.01533, allocations: 316.8 kB / 334 MB, free: 10.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.01566, allocations: 283 kB / 334.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.0157, allocations: 33.27 kB / 334.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.01584, allocations: 169.9 kB / 334.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.01594, allocations: 111.4 kB / 334.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.01606, allocations: 64.81 kB / 334.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.01623, allocations: 341.1 kB / 335 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.01648, allocations: 127.3 kB / 335.1 MB, free: 9.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.01697, allocations: 496.7 kB / 335.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.01746, allocations: 265.9 kB / 335.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01746, allocations: 0 / 335.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000704/0.01817, allocations: 399.5 kB / 336.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.0182, allocations: 30.7 kB / 336.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01821, allocations: 1.75 kB / 336.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.01837, allocations: 35.34 kB / 336.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.01946, allocations: 168.4 kB / 336.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.02342, allocations: 2.972 MB / 339.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.02375, allocations: 32.36 kB / 339.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.02377, allocations: 8.219 kB / 339.5 MB, free: 5.438 MB / 302.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.0002/0.02397, allocations: 151.9 kB / 339.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.02405, allocations: 38.36 kB / 339.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.812e-05/0.02414, allocations: 41.86 kB / 339.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02414, allocations: 3.594 kB / 339.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.02415, allocations: 0 / 339.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007821/0.02493, allocations: 0.6616 MB / 340.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.02532, allocations: 263.4 kB / 340.6 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02533, allocations: 0 / 340.6 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.02672, allocations: 201.4 kB / 340.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.407e-05/0.02679, allocations: 23.56 kB / 340.8 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.02681, allocations: 10.31 kB / 340.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.03046, allocations: 2.789 MB / 343.6 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.03046, allocations: 3.938 kB / 343.6 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.03143, allocations: 0.5039 MB / 344.1 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.03158, allocations: 59.7 kB / 344.2 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.03164, allocations: 16.16 kB / 344.2 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.03192, allocations: 15.98 kB / 344.2 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.03202, allocations: 27.89 kB / 344.3 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.03204, allocations: 11.98 kB / 344.3 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002829/0.03233, allocations: 199.1 kB / 344.5 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03233, allocations: 0 / 344.5 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.03279, allocations: 104 kB / 344.6 MB, free: 420 kB / 302.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.0001567/0.03294, allocations: 107.2 kB / 344.7 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.03477, allocations: 0.5591 MB / 345.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03477, allocations: 0 / 345.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.03636, allocations: 394.3 kB / 345.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.03694, allocations: 91.36 kB / 345.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.03879, allocations: 0.7565 MB / 346.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.03905, allocations: 169.8 kB / 346.6 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.03922, allocations: 42.89 kB / 346.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.0393, allocations: 28.5 kB / 346.7 MB, free: 14.17 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.0393, allocations: 0 / 346.7 MB, free: 14.17 MB / 318.1 MB Notification: Performance of Templates: time 0.01353/0.05284, allocations: 6.648 MB / 353.3 MB, free: 7.691 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins/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.72128489613533]