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.002/0.002, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001909/0.001909, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.47/1.47, allocations: 207.6 MB / 236 MB, free: 10.87 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.001826/0.001826, allocations: 51.92 kB / 348.4 MB, free: 9.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3064, allocations: 49.16 MB / 397.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003942/0.3104, allocations: 2.767 MB / 400.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3117, allocations: 0.8789 MB / 401.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.3119, allocations: 7.688 kB / 401.2 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.3122, allocations: 79.5 kB / 401.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.3125, allocations: 136.1 kB / 401.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.3127, allocations: 86.31 kB / 401.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005658/0.3132, allocations: 442.5 kB / 402 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.3134, allocations: 72.55 kB / 402 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.3136, allocations: 158.1 kB / 402.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.3139, allocations: 184.3 kB / 402.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.785e-05/0.3139, allocations: 34.62 kB / 402.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.314, allocations: 34.19 kB / 402.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.3141, allocations: 75.64 kB / 402.5 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.3142, allocations: 193.4 kB / 402.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.3148, allocations: 443.5 kB / 403.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3148, allocations: 3.938 kB / 403.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3148, allocations: 0 / 403.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3148, allocations: 5.469 kB / 403.1 MB, free: 6.004 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.001049/0.3158, allocations: 0.6178 MB / 403.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3159, allocations: 13.17 kB / 403.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.47e-05/0.316, allocations: 42.92 kB / 403.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.3164, allocations: 243.5 kB / 404.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.3165, allocations: 102.8 kB / 404.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.3165, allocations: 18.56 kB / 404.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.317, allocations: 323.1 kB / 404.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.317, allocations: 3.953 kB / 404.5 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.317, allocations: 12.06 kB / 404.5 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.317, allocations: 4.656 kB / 404.5 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.3174, allocations: 211 kB / 404.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.3187, allocations: 0.7665 MB / 405.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.3192, allocations: 257.8 kB / 405.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.3194, allocations: 108.7 kB / 405.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.3194, allocations: 4.938 kB / 405.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3195, allocations: 38.11 kB / 405.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.382e-06/0.3195, allocations: 9.156 kB / 405.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009715/0.3204, allocations: 399.1 kB / 406.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.3205, allocations: 318 kB / 406.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.3208, allocations: 282.9 kB / 406.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3208, allocations: 37.39 kB / 406.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.3209, allocations: 171.1 kB / 407.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.321, allocations: 112.2 kB / 407.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3211, allocations: 66.33 kB / 407.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.3211, allocations: 339.7 kB / 407.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3213, allocations: 92.22 kB / 407.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.3216, allocations: 217 kB / 407.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.322, allocations: 268.4 kB / 408.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.322, allocations: 0 / 408.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006005/0.3226, allocations: 363.7 kB / 408.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.3226, allocations: 31.91 kB / 408.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3226, allocations: 1.375 kB / 408.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.3228, allocations: 45.44 kB / 408.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.3238, allocations: 156.3 kB / 408.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.3269, allocations: 3.033 MB / 411.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.3272, allocations: 37.02 kB / 411.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.3273, allocations: 12.72 kB / 411.8 MB, free: 15.48 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.0002105/0.3275, allocations: 153.2 kB / 412 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.3276, allocations: 34.41 kB / 412 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.395e-05/0.3276, allocations: 37.83 kB / 412 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3276, allocations: 2.938 kB / 412 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.3276, allocations: 4 kB / 412 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007646/0.3284, allocations: 0.6558 MB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.3289, allocations: 365.8 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3289, allocations: 0 / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.3302, allocations: 207.4 kB / 413.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-05/0.3303, allocations: 25.36 kB / 413.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.3303, allocations: 3.234 kB / 413.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003346/0.3336, allocations: 2.833 MB / 416.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3336, allocations: 128 / 416.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.3346, allocations: 0.5266 MB / 416.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.3347, allocations: 65.34 kB / 416.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.3348, allocations: 7.219 kB / 416.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.335, allocations: 16.86 kB / 416.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.3351, allocations: 27.73 kB / 416.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3351, allocations: 5.938 kB / 416.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002279/0.3353, allocations: 204.7 kB / 417 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3353, allocations: 0 / 417 MB, free: 11.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004312/0.3358, allocations: 107.5 kB / 417.1 MB, free: 11.17 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.0001479/0.3359, allocations: 111.9 kB / 417.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.3375, allocations: 0.5096 MB / 417.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3375, allocations: 5.562 kB / 417.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.3389, allocations: 392.1 kB / 418.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.3394, allocations: 83.67 kB / 418.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3411, allocations: 0.9178 MB / 419.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.3416, allocations: 0.7758 MB / 419.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.3416, allocations: 28.59 kB / 419.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3416, allocations: 0 / 419.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of Templates: time 0.00976/0.3514, allocations: 6.843 MB / 426.7 MB, free: 5.152 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.117720599053428]