Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 192.5 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 51.86 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2347, allocations: 52.18 MB / 423 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003765/0.2385, allocations: 2.565 MB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2398, allocations: 0.7866 MB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.2399, allocations: 4 kB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.2401, allocations: 71.41 kB / 426.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.2404, allocations: 142.9 kB / 426.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.2406, allocations: 83.83 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.2411, allocations: 442 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2413, allocations: 66.47 kB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.2415, allocations: 163.4 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.2417, allocations: 155.2 kB / 427.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.2418, allocations: 40 kB / 427.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.2419, allocations: 36 kB / 427.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.2419, allocations: 75.73 kB / 427.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.2421, allocations: 167.2 kB / 427.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.2426, allocations: 446 kB / 428.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2426, allocations: 0 / 428.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2426, allocations: 0 / 428.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2426, allocations: 0 / 428.2 MB, free: 9.266 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.001125/0.2437, allocations: 0.6196 MB / 428.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2438, allocations: 8.031 kB / 428.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.2438, allocations: 40.7 kB / 428.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.2443, allocations: 254.4 kB / 429.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.2444, allocations: 102.1 kB / 429.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.2445, allocations: 20.38 kB / 429.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/0.2452, allocations: 0.6694 MB / 430 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2452, allocations: 0 / 430 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.2452, allocations: 12 kB / 430 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2452, allocations: 4 kB / 430 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.2457, allocations: 197.6 kB / 430.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.247, allocations: 0.662 MB / 430.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.2476, allocations: 254.9 kB / 431.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.2478, allocations: 96.83 kB / 431.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.2479, allocations: 15.98 kB / 431.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2479, allocations: 38.56 kB / 431.2 MB, free: 6.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.2479, allocations: 0 / 431.2 MB, free: 6.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001023/0.2489, allocations: 406.2 kB / 431.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.2491, allocations: 312.4 kB / 431.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.2494, allocations: 288.2 kB / 432.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.2495, allocations: 33.7 kB / 432.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.2496, allocations: 168.8 kB / 432.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.2497, allocations: 123 kB / 432.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.2498, allocations: 65.7 kB / 432.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.25, allocations: 346.7 kB / 432.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.2502, allocations: 121.4 kB / 433 MB, free: 4.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.2507, allocations: 487.6 kB / 433.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.2511, allocations: 263.5 kB / 433.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2511, allocations: 4 kB / 433.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006849/0.2518, allocations: 395.4 kB / 434.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.2519, allocations: 33.69 kB / 434.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2519, allocations: 4 kB / 434.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.252, allocations: 40.84 kB / 434.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.253, allocations: 159.9 kB / 434.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/0.2568, allocations: 2.961 MB / 437.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.2571, allocations: 35.88 kB / 437.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.2571, allocations: 8 kB / 437.4 MB, free: 15.37 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.0001903/0.2573, allocations: 157.7 kB / 437.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.2574, allocations: 44 kB / 437.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.2574, allocations: 39.08 kB / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2574, allocations: 0 / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2574, allocations: 4 kB / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008502/0.2583, allocations: 0.6511 MB / 438.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.2587, allocations: 269 kB / 438.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2587, allocations: 0 / 438.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.26, allocations: 211.6 kB / 438.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.83e-05/0.26, allocations: 24.86 kB / 438.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.2601, allocations: 7.984 kB / 438.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/0.2634, allocations: 2.788 MB / 441.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2634, allocations: 0 / 441.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.2642, allocations: 0.5164 MB / 442.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.2644, allocations: 67.7 kB / 442.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.2645, allocations: 7.938 kB / 442.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.2647, allocations: 19.92 kB / 442.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.2648, allocations: 23.95 kB / 442.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.2648, allocations: 8 kB / 442.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.265, allocations: 199.1 kB / 442.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.265, allocations: 0 / 442.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004234/0.2655, allocations: 103.9 kB / 442.5 MB, free: 9.871 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.000131/0.2656, allocations: 115.2 kB / 442.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.2672, allocations: 0.558 MB / 443.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2672, allocations: 0 / 443.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.2686, allocations: 390.3 kB / 443.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.2691, allocations: 88.62 kB / 443.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.2708, allocations: 0.8672 MB / 444.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.271, allocations: 165.8 kB / 444.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.2712, allocations: 42.95 kB / 444.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.2713, allocations: 27.44 kB / 444.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2713, allocations: 0 / 444.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of Templates: time 0.01332/0.2846, allocations: 7.152 MB / 451.9 MB, free: 0.5508 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.843225544318557]