Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001802/0.001802, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002192/0.002192, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 230.4 MB / 258.1 MB, free: 8.129 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.84 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2158, allocations: 53.31 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004122/0.2199, allocations: 2.788 MB / 434.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2215, allocations: 0.8646 MB / 435.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.2216, allocations: 7.938 kB / 435.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.2219, allocations: 75.42 kB / 435.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.2222, allocations: 138.9 kB / 435.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.2224, allocations: 79.89 kB / 436 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005757/0.223, allocations: 450.3 kB / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.2232, allocations: 59.39 kB / 436.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.2234, allocations: 155.4 kB / 436.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.2236, allocations: 187.2 kB / 436.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.2237, allocations: 36 kB / 436.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-05/0.2238, allocations: 36 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.2239, allocations: 75.73 kB / 437 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.2241, allocations: 191.1 kB / 437.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.2245, allocations: 443.8 kB / 437.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2245, allocations: 0 / 437.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2245, allocations: 0 / 437.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.2246, allocations: 0 / 437.6 MB, free: 1.793 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.001222/0.2258, allocations: 0.6909 MB / 438.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2258, allocations: 8.031 kB / 438.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.433e-05/0.2259, allocations: 44.7 kB / 438.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.2264, allocations: 307.6 kB / 438.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.2265, allocations: 50.7 kB / 438.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.2265, allocations: 20.38 kB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.2271, allocations: 325.6 kB / 439 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2271, allocations: 0 / 439 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.2271, allocations: 12 kB / 439 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2271, allocations: 4 kB / 439 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.2276, allocations: 209.6 kB / 439.2 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.2291, allocations: 0.7949 MB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.2297, allocations: 255 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.2299, allocations: 105.3 kB / 440.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.2299, allocations: 12 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.23, allocations: 34.56 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.23, allocations: 0 / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0011/0.2311, allocations: 487.4 kB / 440.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.2312, allocations: 320.4 kB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.2315, allocations: 279 kB / 441.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.2316, allocations: 33.7 kB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.2317, allocations: 172.8 kB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.2318, allocations: 111.1 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.2319, allocations: 69.69 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2321, allocations: 334.8 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.2323, allocations: 99.95 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.2326, allocations: 212.5 kB / 442.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.2331, allocations: 263.5 kB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2331, allocations: 3.938 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006768/0.2338, allocations: 365.9 kB / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.2338, allocations: 37.78 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2338, allocations: 3.938 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.234, allocations: 36.84 kB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.2351, allocations: 159.8 kB / 443.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.239, allocations: 3.233 MB / 446.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.2393, allocations: 27.92 kB / 446.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.2393, allocations: 12 kB / 446.6 MB, free: 8.051 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.0001837/0.2395, allocations: 157.7 kB / 446.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.2396, allocations: 47.77 kB / 446.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.227e-05/0.2397, allocations: 31.17 kB / 446.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007446/0.2404, allocations: 0.6539 MB / 447.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2404, allocations: 0 / 447.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.2406, allocations: 140.8 kB / 447.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.2406, allocations: 4 kB / 447.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.2409, allocations: 28.11 kB / 447.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.241, allocations: 15.97 kB / 447.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001751/0.2427, allocations: 0.5113 MB / 448.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008583/0.2436, allocations: 0.565 MB / 448.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002192/0.2438, allocations: 99.94 kB / 448.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.244, allocations: 202 kB / 449.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.244, allocations: 0 / 449.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.2457, allocations: 0.5191 MB / 449.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of SimCode: time 0.001623/0.2474, allocations: 1.299 MB / 450.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of Templates: time 0.01211/0.2595, allocations: 6.132 MB / 457 MB, free: 13.5 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.367140955291688]