Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008022/0.0008022, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009471/0.001749, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007067/0.0007067, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008958/0.001603, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1791/1.183, allocations: 49.48 MB / 220.5 MB, free: 1.461 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 221.8 MB, free: 212 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.595e-05, allocations: 17.34 kB / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003783/0.003809, allocations: 2.809 MB / 224.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.00504, allocations: 0.8691 MB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.005163, allocations: 4 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.005328, allocations: 79.39 kB / 225.6 MB, free: 12.4 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.00552, allocations: 146.8 kB / 225.7 MB, free: 12.26 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.005675, allocations: 95.73 kB / 225.8 MB, free: 12.16 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.006039, allocations: 462.1 kB / 226.3 MB, free: 11.71 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.006159, allocations: 66.58 kB / 226.3 MB, free: 11.65 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.006408, allocations: 294.5 kB / 226.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.006574, allocations: 131.7 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.006618, allocations: 36 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-05/0.006656, allocations: 36 kB / 226.8 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.006702, allocations: 55.81 kB / 226.9 MB, free: 11.11 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.006801, allocations: 115.8 kB / 227 MB, free: 10.99 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.007072, allocations: 271 kB / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.584e-05/0.007088, allocations: 0 / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007089, allocations: 0 / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.007103, allocations: 0 / 227.2 MB, free: 10.73 MB / 234.7 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.0006984/0.007801, allocations: 0.6609 MB / 227.9 MB, free: 10.04 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.007831, allocations: 8.031 kB / 227.9 MB, free: 10.03 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.007895, allocations: 48.89 kB / 228 MB, free: 9.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.00813, allocations: 205.8 kB / 228.2 MB, free: 9.75 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.008213, allocations: 102.2 kB / 228.3 MB, free: 9.633 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.008247, allocations: 28.38 kB / 228.3 MB, free: 9.605 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.008578, allocations: 0.6127 MB / 228.9 MB, free: 8.863 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.008588, allocations: 192 / 228.9 MB, free: 8.863 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.008606, allocations: 16.12 kB / 228.9 MB, free: 8.848 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.008611, allocations: 4 kB / 228.9 MB, free: 8.844 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.008715, allocations: 71.44 kB / 229 MB, free: 8.773 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.009353, allocations: 470 kB / 229.5 MB, free: 8.301 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.009533, allocations: 141 kB / 229.6 MB, free: 8.156 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.009588, allocations: 52.84 kB / 229.6 MB, free: 8.102 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.009624, allocations: 8 kB / 229.7 MB, free: 8.094 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.009658, allocations: 42.55 kB / 229.7 MB, free: 8.043 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 2.284e-06/0.00966, allocations: 0 / 229.7 MB, free: 8.043 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004529/0.01011, allocations: 222.3 kB / 229.9 MB, free: 7.816 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.01015, allocations: 59.41 kB / 230 MB, free: 7.746 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.0103, allocations: 255 kB / 230.2 MB, free: 7.488 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.01033, allocations: 33.7 kB / 230.3 MB, free: 7.449 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.0104, allocations: 141.5 kB / 230.4 MB, free: 7.309 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.01046, allocations: 107 kB / 230.5 MB, free: 7.203 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.01054, allocations: 73.66 kB / 230.6 MB, free: 7.125 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01066, allocations: 342.8 kB / 230.9 MB, free: 6.781 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.01072, allocations: 57.67 kB / 231 MB, free: 6.719 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.01095, allocations: 426.7 kB / 231.4 MB, free: 6.191 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.0111, allocations: 166.6 kB / 231.5 MB, free: 6.012 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.0111, allocations: 0 / 231.5 MB, free: 6.012 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002239/0.01133, allocations: 238.8 kB / 231.8 MB, free: 5.758 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.01137, allocations: 37.64 kB / 231.8 MB, free: 5.715 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01137, allocations: 3.984 kB / 231.8 MB, free: 5.711 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.01148, allocations: 28.84 kB / 231.8 MB, free: 5.68 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.01192, allocations: 163.8 kB / 232 MB, free: 5.52 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.01343, allocations: 2.546 MB / 234.5 MB, free: 2.801 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.01355, allocations: 39.77 kB / 234.6 MB, free: 2.762 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.01356, allocations: 4 kB / 234.6 MB, free: 2.758 MB / 234.7 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.0001/0.01366, allocations: 137.8 kB / 234.7 MB, free: 2.613 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.0137, allocations: 31.97 kB / 234.8 MB, free: 2.582 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.01374, allocations: 39.08 kB / 234.8 MB, free: 2.543 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.01374, allocations: 0 / 234.8 MB, free: 2.543 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.01375, allocations: 7.938 kB / 234.8 MB, free: 2.535 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002486/0.014, allocations: 0.526 MB / 235.3 MB, free: 1.902 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.0142, allocations: 197.6 kB / 235.5 MB, free: 1.691 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.0142, allocations: 0 / 235.5 MB, free: 1.691 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.01473, allocations: 207.8 kB / 235.7 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.0148, allocations: 39.73 kB / 235.8 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.379e-05/0.01486, allocations: 24.88 kB / 235.8 MB, free: 1.422 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.01487, allocations: 4 kB / 235.8 MB, free: 1.418 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.01614, allocations: 2.436 MB / 238.2 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01614, allocations: 0 / 238.2 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.0164, allocations: 324.5 kB / 238.5 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.01643, allocations: 8 kB / 238.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.01654, allocations: 19.98 kB / 238.6 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.0166, allocations: 23.95 kB / 238.6 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.01661, allocations: 4 kB / 238.6 MB, free: 14.42 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.83e-05/0.01667, allocations: 96.62 kB / 238.7 MB, free: 14.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01667, allocations: 0 / 238.7 MB, free: 14.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.01692, allocations: 103.9 kB / 238.8 MB, free: 14.22 MB / 250.7 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.0001152/0.01703, allocations: 92.36 kB / 238.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000588/0.01762, allocations: 437.2 kB / 239.3 MB, free: 13.66 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.01763, allocations: 16.17 kB / 239.3 MB, free: 13.64 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.01811, allocations: 328 kB / 239.6 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.0184, allocations: 128.3 kB / 239.8 MB, free: 13.18 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.0229, allocations: 0.6684 MB / 240.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.02296, allocations: 97.3 kB / 240.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.02308, allocations: 39 kB / 240.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.02332, allocations: 185.2 kB / 240.8 MB, free: 12.14 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02332, allocations: 0 / 240.8 MB, free: 12.14 MB / 250.7 MB Notification: Performance of Templates: time 0.009082/0.0324, allocations: 8.201 MB / 249 MB, free: 3.965 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8594539454206824]