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.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.001336/0.001336, allocations: 107.8 kB / 19.76 MB, free: 2.551 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.001582/0.001582, allocations: 192.7 kB / 22.93 MB, free: 5.578 MB / 14.72 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.613/1.613, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 51.92 kB / 345.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3354, allocations: 49.12 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.00467/0.3401, allocations: 2.767 MB / 397.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.342, allocations: 0.886 MB / 398.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.3423, allocations: 3.062 kB / 398.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.3427, allocations: 72.11 kB / 398.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.3431, allocations: 144.4 kB / 398.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.3434, allocations: 88.02 kB / 398.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.344, allocations: 433.9 kB / 398.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3442, allocations: 72.38 kB / 399 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.3443, allocations: 159.1 kB / 399.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.3446, allocations: 181.6 kB / 399.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.3447, allocations: 33.62 kB / 399.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.851e-05/0.3447, allocations: 35.38 kB / 399.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.3448, allocations: 77.06 kB / 399.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.345, allocations: 195.7 kB / 399.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005951/0.3456, allocations: 448.8 kB / 400.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3456, allocations: 0 / 400.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3456, allocations: 1.562 kB / 400.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.3456, allocations: 0 / 400.1 MB, free: 5.898 MB / 318.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.001101/0.3467, allocations: 0.6891 MB / 400.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.3468, allocations: 13.8 kB / 400.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3469, allocations: 46.8 kB / 400.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.3474, allocations: 303.3 kB / 401.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3475, allocations: 50.48 kB / 401.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.3475, allocations: 19.19 kB / 401.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.3481, allocations: 328.1 kB / 401.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.3482, allocations: 5.016 kB / 401.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/0.3482, allocations: 11.34 kB / 401.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.3482, allocations: 4.656 kB / 401.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.3487, allocations: 205.1 kB / 401.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.3502, allocations: 0.7974 MB / 402.5 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.3508, allocations: 253.6 kB / 402.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.3511, allocations: 103.6 kB / 402.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-05/0.3511, allocations: 3.703 kB / 402.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3511, allocations: 44.03 kB / 402.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.552e-06/0.3511, allocations: 0 / 402.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001169/0.3523, allocations: 486.8 kB / 403.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.3524, allocations: 321.5 kB / 403.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3527, allocations: 280.7 kB / 404 MB, free: 3.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.3527, allocations: 33.95 kB / 404 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3529, allocations: 171.2 kB / 404.2 MB, free: 3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.353, allocations: 111.3 kB / 404.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3531, allocations: 67.75 kB / 404.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3532, allocations: 339.3 kB / 404.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.3534, allocations: 95.97 kB / 404.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.3538, allocations: 213 kB / 405 MB, free: 2.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.3543, allocations: 267.6 kB / 405.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3543, allocations: 0 / 405.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006614/0.3549, allocations: 364.7 kB / 405.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.355, allocations: 36.02 kB / 405.6 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.355, allocations: 0.75 kB / 405.6 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.3552, allocations: 37.38 kB / 405.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.3562, allocations: 163.6 kB / 405.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.3598, allocations: 3.231 MB / 409.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.3602, allocations: 32.34 kB / 409.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.3602, allocations: 12.81 kB / 409.1 MB, free: 14.9 MB / 334.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.0002896/0.3605, allocations: 157.7 kB / 409.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.3606, allocations: 42.38 kB / 409.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.901e-05/0.3607, allocations: 37.44 kB / 409.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3607, allocations: 4.25 kB / 409.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3607, allocations: 0 / 409.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008863/0.3616, allocations: 0.6523 MB / 410 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.3622, allocations: 393.1 kB / 410.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3622, allocations: 0.7031 kB / 410.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.3635, allocations: 203.2 kB / 410.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-05/0.3636, allocations: 25.56 kB / 410.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3636, allocations: 12.05 kB / 410.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/0.3672, allocations: 3.034 MB / 413.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3672, allocations: 1.281 kB / 413.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.3682, allocations: 0.5168 MB / 414.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.3684, allocations: 138.1 kB / 414.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.3685, allocations: 15.52 kB / 414.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.3687, allocations: 16.86 kB / 414.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.845e-05/0.3688, allocations: 23.14 kB / 414.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.3688, allocations: 10.17 kB / 414.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.3691, allocations: 199.7 kB / 414.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3691, allocations: 1.312 kB / 414.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005064/0.3696, allocations: 111.2 kB / 414.7 MB, free: 10.25 MB / 334.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.0001722/0.3698, allocations: 108.7 kB / 414.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.3715, allocations: 0.513 MB / 415.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3715, allocations: 1.125 kB / 415.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.3729, allocations: 396.2 kB / 415.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.3735, allocations: 91.16 kB / 415.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3754, allocations: 0.8743 MB / 416.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.3758, allocations: 0.7731 MB / 417.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.376, allocations: 37.67 kB / 417.4 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.3761, allocations: 31.22 kB / 417.5 MB, free: 8.27 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3761, allocations: 0 / 417.5 MB, free: 8.27 MB / 334.1 MB Notification: Performance of Templates: time 0.01339/0.3895, allocations: 6.411 MB / 423.9 MB, free: 5.047 MB / 334.1 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: 5.161164368502796]