Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 217.1 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 43.94 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.211, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003857/0.2149, allocations: 2.567 MB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2162, allocations: 0.8139 MB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2163, allocations: 0 / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.2166, allocations: 71.44 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.2169, allocations: 142.9 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.2171, allocations: 87.88 kB / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.2176, allocations: 445.6 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.2177, allocations: 67.55 kB / 436.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.2179, allocations: 163.4 kB / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.2182, allocations: 179.2 kB / 436.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.2183, allocations: 36 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.2183, allocations: 36 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.393e-05/0.2184, allocations: 79.73 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.2186, allocations: 155.3 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.2191, allocations: 449.2 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2191, allocations: 4 kB / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2191, allocations: 0 / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2191, allocations: 0 / 437.6 MB, free: 1.43 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.001162/0.2203, allocations: 0.604 MB / 438.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2203, allocations: 12.02 kB / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.2204, allocations: 52.64 kB / 438.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.2208, allocations: 246.4 kB / 438.5 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2209, allocations: 102.1 kB / 438.6 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.221, allocations: 20.38 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007683/0.2217, allocations: 0.6655 MB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2218, allocations: 7.938 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.2218, allocations: 8 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2218, allocations: 8 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.2222, allocations: 201.6 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.2236, allocations: 0.6619 MB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.2242, allocations: 255.7 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.2244, allocations: 108.8 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.2245, allocations: 4 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.2245, allocations: 42.5 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.2245, allocations: 0 / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00109/0.2256, allocations: 422.2 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.2258, allocations: 316.4 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.2261, allocations: 280.2 kB / 441.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.2261, allocations: 33.7 kB / 441.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.2262, allocations: 172.8 kB / 441.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.2263, allocations: 107 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.2265, allocations: 69.69 kB / 441.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2266, allocations: 334.8 kB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.2269, allocations: 121.7 kB / 442.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.2274, allocations: 0.4921 MB / 442.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.2278, allocations: 263.5 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2278, allocations: 0 / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006958/0.2285, allocations: 395.4 kB / 443.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.2286, allocations: 37.8 kB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2286, allocations: 0 / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.2287, allocations: 36.84 kB / 443.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.2299, allocations: 167.8 kB / 443.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/0.2338, allocations: 2.968 MB / 446.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.2341, allocations: 35.92 kB / 446.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.2341, allocations: 12 kB / 446.8 MB, free: 7.512 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.0001795/0.2343, allocations: 155.8 kB / 446.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.2343, allocations: 35.84 kB / 446.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.487e-05/0.2344, allocations: 43.06 kB / 447 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000752/0.2352, allocations: 0.6539 MB / 447.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2352, allocations: 192 / 447.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.2353, allocations: 71.7 kB / 447.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.2354, allocations: 4 kB / 447.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.2357, allocations: 15.98 kB / 447.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.2357, allocations: 23.95 kB / 447.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001805/0.2375, allocations: 0.5034 MB / 448.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000882/0.2384, allocations: 0.5648 MB / 448.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002158/0.2386, allocations: 103.9 kB / 448.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.2388, allocations: 199.1 kB / 449.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of Backend: time 2.4e-07/0.2388, allocations: 0 / 449.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.2407, allocations: 0.5452 MB / 449.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of SimCode: time 0.001553/0.2422, allocations: 1.295 MB / 451 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Templates: time 0.01239/0.2546, allocations: 7.132 MB / 458.1 MB, free: 12.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.401032246001705]