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.00166/0.00166, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 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.001577/0.001577, allocations: 168.2 kB / 25.02 MB, free: 7.906 MB / 18.57 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.46/1.46, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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 2.344e-06/2.344e-06, allocations: 0 / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.539e-05/3.773e-05, allocations: 6.312 kB / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.005165/0.005203, allocations: 2.57 MB / 252.9 MB, free: 1.379 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.007432, allocations: 0.8265 MB / 253.7 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.007789, allocations: 0 / 253.7 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.008193, allocations: 79.34 kB / 253.8 MB, free: 476 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.008715, allocations: 138.9 kB / 253.9 MB, free: 336 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.009046, allocations: 91.8 kB / 254 MB, free: 244 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008122/0.009858, allocations: 462.1 kB / 254.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.01007, allocations: 63.95 kB / 254.5 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.0105, allocations: 239.5 kB / 254.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.01076, allocations: 131.7 kB / 254.9 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.01083, allocations: 32 kB / 254.9 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.0109, allocations: 36 kB / 255 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/0.011, allocations: 83.67 kB / 255.1 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.01119, allocations: 135.7 kB / 255.2 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006391/0.01183, allocations: 458.5 kB / 255.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.01183, allocations: 0 / 255.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01184, allocations: 0 / 255.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.01184, allocations: 4 kB / 255.6 MB, free: 14.62 MB / 250.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.00127/0.01311, allocations: 0.6079 MB / 256.2 MB, free: 13.97 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.01316, allocations: 11.98 kB / 256.3 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.01331, allocations: 60.7 kB / 256.3 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.01378, allocations: 253.7 kB / 256.6 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.01393, allocations: 102.2 kB / 256.7 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.014, allocations: 28.38 kB / 256.7 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009533/0.01496, allocations: 0.6668 MB / 257.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.01497, allocations: 192 / 257.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.01501, allocations: 16.12 kB / 257.4 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.01502, allocations: 4 kB / 257.4 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.01551, allocations: 197.9 kB / 257.6 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.01713, allocations: 0.6545 MB / 258.2 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.01779, allocations: 253.5 kB / 258.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.01804, allocations: 108.8 kB / 258.6 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.01809, allocations: 11.98 kB / 258.6 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003612/0.01845, allocations: 46.48 kB / 258.6 MB, free: 11.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.01845, allocations: 0 / 258.6 MB, free: 11.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.00126/0.01971, allocations: 410.2 kB / 259 MB, free: 10.96 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000262/0.01997, allocations: 328.3 kB / 259.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.02034, allocations: 292.1 kB / 259.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.02038, allocations: 33.7 kB / 259.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.02056, allocations: 168.9 kB / 259.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.02067, allocations: 107 kB / 259.9 MB, free: 9.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.0208, allocations: 65.69 kB / 260 MB, free: 9.883 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.02103, allocations: 338.8 kB / 260.3 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.02129, allocations: 121.7 kB / 260.5 MB, free: 9.418 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.02192, allocations: 498.5 kB / 260.9 MB, free: 8.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.02246, allocations: 262.7 kB / 261.2 MB, free: 8.547 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02246, allocations: 4 kB / 261.2 MB, free: 8.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000802/0.02326, allocations: 410.5 kB / 261.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.02331, allocations: 33.7 kB / 261.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.02332, allocations: 0 / 261.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.02352, allocations: 40.94 kB / 261.7 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.0246, allocations: 163.8 kB / 261.8 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004593/0.02919, allocations: 2.968 MB / 264.8 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.02957, allocations: 35.81 kB / 264.8 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.0296, allocations: 16.09 kB / 264.9 MB, free: 4.66 MB / 250.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.0002434/0.02984, allocations: 149.8 kB / 265 MB, free: 4.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.02994, allocations: 43.81 kB / 265.1 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-05/0.03004, allocations: 39.02 kB / 265.1 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.03004, allocations: 4 kB / 265.1 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.03004, allocations: 0 / 265.1 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/0.03121, allocations: 0.6511 MB / 265.7 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.0317, allocations: 265.3 kB / 266 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.0317, allocations: 8 kB / 266 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.03315, allocations: 207.8 kB / 266.2 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.015e-05/0.03324, allocations: 28.83 kB / 266.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.03327, allocations: 8 kB / 266.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/0.03709, allocations: 2.784 MB / 269 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.0371, allocations: 4.078 kB / 269 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.03818, allocations: 0.5278 MB / 269.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.03838, allocations: 59.77 kB / 269.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.03844, allocations: 7.938 kB / 269.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.03872, allocations: 19.98 kB / 269.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.03882, allocations: 27.89 kB / 269.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.03884, allocations: 16.05 kB / 269.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002633/0.03911, allocations: 203.1 kB / 269.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03911, allocations: 0 / 269.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005296/0.03964, allocations: 103.9 kB / 270 MB, free: 15.14 MB / 266.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.0001709/0.03981, allocations: 107.2 kB / 270.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.04162, allocations: 0.5463 MB / 270.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.04163, allocations: 0 / 270.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.0432, allocations: 398.2 kB / 271 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.04379, allocations: 96.56 kB / 271.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.04578, allocations: 0.7585 MB / 271.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.04598, allocations: 165.8 kB / 272 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000211/0.04619, allocations: 42.89 kB / 272.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.04628, allocations: 28.5 kB / 272.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.04628, allocations: 7.938 kB / 272.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Templates: time 0.01426/0.06054, allocations: 6.675 MB / 278.8 MB, free: 6.266 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.689753258950077]