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.001304/0.001304, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001393/0.001393, allocations: 210.9 kB / 22.99 MB, free: 5.609 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.428/1.428, allocations: 230.2 MB / 256.2 MB, free: 8.562 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.001872/0.001872, allocations: 59.89 kB / 376.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2405, allocations: 53.33 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004074/0.2446, allocations: 2.787 MB / 432.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2462, allocations: 0.8607 MB / 433.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.2463, allocations: 4 kB / 433.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.2466, allocations: 79.34 kB / 433.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.2468, allocations: 138.9 kB / 433.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.247, allocations: 83.83 kB / 433.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.2476, allocations: 442.4 kB / 434.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.2477, allocations: 63.39 kB / 434.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.2479, allocations: 159.4 kB / 434.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.2482, allocations: 183.2 kB / 434.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.2482, allocations: 36 kB / 434.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.194e-05/0.2483, allocations: 32 kB / 434.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.2484, allocations: 79.73 kB / 434.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.2486, allocations: 191.1 kB / 434.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.2491, allocations: 443.5 kB / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2491, allocations: 3.984 kB / 435.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2491, allocations: 0 / 435.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2491, allocations: 0 / 435.3 MB, free: 1.996 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.00116/0.2502, allocations: 0.6832 MB / 436 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2503, allocations: 8.031 kB / 436 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.2504, allocations: 44.7 kB / 436.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.2508, allocations: 303.6 kB / 436.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.2509, allocations: 54.7 kB / 436.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.2509, allocations: 20.38 kB / 436.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.2515, allocations: 329.5 kB / 436.8 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2515, allocations: 0 / 436.8 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.2515, allocations: 12 kB / 436.8 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.2515, allocations: 4 kB / 436.8 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.252, allocations: 201.6 kB / 437 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.2534, allocations: 0.8028 MB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.254, allocations: 258.9 kB / 438 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.2542, allocations: 104.8 kB / 438.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.2542, allocations: 8 kB / 438.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2543, allocations: 34.56 kB / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.2543, allocations: 3.938 kB / 438.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001121/0.2554, allocations: 495.3 kB / 438.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/0.2556, allocations: 316.4 kB / 439 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.2559, allocations: 279 kB / 439.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.2559, allocations: 33.7 kB / 439.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.2561, allocations: 176.8 kB / 439.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.2562, allocations: 111.1 kB / 439.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.2563, allocations: 69.69 kB / 439.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2565, allocations: 334.8 kB / 439.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.2567, allocations: 95.95 kB / 440 MB, free: 12.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.2572, allocations: 208.2 kB / 440.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.2578, allocations: 272.3 kB / 440.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2578, allocations: 0 / 440.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006826/0.2585, allocations: 369.7 kB / 440.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.2585, allocations: 33.7 kB / 440.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2585, allocations: 0 / 440.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.2587, allocations: 36.84 kB / 440.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.2597, allocations: 159.9 kB / 441.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.2638, allocations: 3.229 MB / 444.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.2641, allocations: 35.88 kB / 444.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.2641, allocations: 15.98 kB / 444.4 MB, free: 8.238 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.0001938/0.2643, allocations: 153.7 kB / 444.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.2644, allocations: 39.81 kB / 444.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/0.2645, allocations: 35.16 kB / 444.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2645, allocations: 4 kB / 444.6 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2645, allocations: 0 / 444.6 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007305/0.2652, allocations: 0.6501 MB / 445.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.2657, allocations: 393.2 kB / 445.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2657, allocations: 0 / 445.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.267, allocations: 207.7 kB / 445.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.881e-05/0.2671, allocations: 24.84 kB / 445.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.2671, allocations: 4 kB / 445.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/0.2705, allocations: 3.046 MB / 448.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2705, allocations: 3.984 kB / 448.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.2714, allocations: 0.5247 MB / 449.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.2716, allocations: 132.9 kB / 449.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.2716, allocations: 11.98 kB / 449.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.2719, allocations: 15.94 kB / 449.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.272, allocations: 27.95 kB / 449.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.272, allocations: 4 kB / 449.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.2722, allocations: 206 kB / 449.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2722, allocations: 0 / 449.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.2726, allocations: 108 kB / 449.9 MB, free: 2.188 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.0001413/0.2728, allocations: 106.8 kB / 450 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.2743, allocations: 0.5291 MB / 450.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.2743, allocations: 4 kB / 450.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.2758, allocations: 390.3 kB / 451 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.2763, allocations: 80.61 kB / 451 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.278, allocations: 0.8757 MB / 451.9 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2784, allocations: 0.776 MB / 452.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.2785, allocations: 42.89 kB / 452.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.2786, allocations: 27.44 kB / 452.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2786, allocations: 0 / 452.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01192/0.2905, allocations: 6.423 MB / 459.2 MB, free: 8.941 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/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.6286053620278835]