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.001526/0.001526, allocations: 102 kB / 21.93 MB, free: 5.195 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.001713/0.001713, allocations: 203.2 kB / 25.22 MB, free: 3.145 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.533/1.533, allocations: 207.7 MB / 236.1 MB, free: 9.781 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 59 kB / 348.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.291, allocations: 49.16 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003681/0.2947, allocations: 2.547 MB / 400.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.2964, allocations: 0.8198 MB / 401 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.2967, allocations: 7.906 kB / 401 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.297, allocations: 68.34 kB / 401 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.2975, allocations: 144 kB / 401.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.2977, allocations: 86.78 kB / 401.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005529/0.2983, allocations: 436.7 kB / 401.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.2985, allocations: 72.44 kB / 401.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.2986, allocations: 165.4 kB / 401.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.2989, allocations: 153.7 kB / 402.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.2989, allocations: 34.78 kB / 402.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.299, allocations: 34.22 kB / 402.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.2991, allocations: 75.91 kB / 402.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.2992, allocations: 172.9 kB / 402.4 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.2997, allocations: 439 kB / 402.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2997, allocations: 0 / 402.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2997, allocations: 0.75 kB / 402.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.2997, allocations: 1.312 kB / 402.8 MB, free: 6.211 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.0009566/0.3007, allocations: 0.6224 MB / 403.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3007, allocations: 13.3 kB / 403.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.3008, allocations: 43.48 kB / 403.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.3012, allocations: 240.3 kB / 403.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-05/0.3013, allocations: 101.5 kB / 403.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.3013, allocations: 24.28 kB / 403.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.3018, allocations: 0.6692 MB / 404.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.3018, allocations: 8.891 kB / 404.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.3019, allocations: 15.28 kB / 404.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3019, allocations: 5.188 kB / 404.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.3022, allocations: 196.5 kB / 404.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3035, allocations: 0.6528 MB / 405.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.304, allocations: 266.7 kB / 405.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.3042, allocations: 104.2 kB / 405.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3043, allocations: 3.828 kB / 405.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3043, allocations: 43.42 kB / 405.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.3043, allocations: 0 / 405.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009748/0.3053, allocations: 408.5 kB / 406.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.3053, allocations: 322.4 kB / 406.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.3056, allocations: 286.5 kB / 406.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3056, allocations: 32.45 kB / 406.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.3057, allocations: 171.8 kB / 407 MB, free: 3.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.3058, allocations: 107.9 kB / 407.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.775e-05/0.3059, allocations: 72.47 kB / 407.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.3059, allocations: 340 kB / 407.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.3061, allocations: 121.4 kB / 407.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.3065, allocations: 495.8 kB / 408.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.3069, allocations: 260.4 kB / 408.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3069, allocations: 1.125 kB / 408.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006075/0.3075, allocations: 401.5 kB / 408.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.3075, allocations: 33.64 kB / 408.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3075, allocations: 1.438 kB / 408.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.3077, allocations: 35.67 kB / 408.8 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/0.3086, allocations: 160.1 kB / 409 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.3118, allocations: 2.969 MB / 411.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.3122, allocations: 39.73 kB / 412 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.3122, allocations: 13.86 kB / 412 MB, free: 14.97 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.0002275/0.3124, allocations: 148.8 kB / 412.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.3125, allocations: 39.06 kB / 412.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.959e-05/0.3126, allocations: 37.56 kB / 412.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3126, allocations: 6.531 kB / 412.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3126, allocations: 5.188 kB / 412.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007267/0.3133, allocations: 0.6519 MB / 412.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.3137, allocations: 264.6 kB / 413.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3137, allocations: 1.078 kB / 413.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.315, allocations: 213.6 kB / 413.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.883e-05/0.3151, allocations: 24.48 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.3151, allocations: 5.766 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003162/0.3183, allocations: 2.787 MB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3183, allocations: 1.125 kB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.3193, allocations: 0.5113 MB / 416.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.3194, allocations: 64.48 kB / 416.7 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.3195, allocations: 11.22 kB / 416.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.3198, allocations: 16.12 kB / 416.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.3198, allocations: 28.28 kB / 416.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.3199, allocations: 11.17 kB / 416.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.3201, allocations: 201 kB / 417 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3201, allocations: 0 / 417 MB, free: 10.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.3206, allocations: 104.4 kB / 417.1 MB, free: 10.84 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.0001483/0.3207, allocations: 108.2 kB / 417.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.3223, allocations: 0.5426 MB / 417.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3223, allocations: 5.312 kB / 417.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.3236, allocations: 387.9 kB / 418.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.3242, allocations: 84.34 kB / 418.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.326, allocations: 0.9153 MB / 419.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.3262, allocations: 168.2 kB / 419.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.3262, allocations: 28 kB / 419.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3262, allocations: 1.125 kB / 419.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of Templates: time 0.01029/0.3365, allocations: 7.003 MB / 426.3 MB, free: 5.262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/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: 8.13802202604711]