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.00118/0.00118, allocations: 91.61 kB / 22.19 MB, free: 2.371 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.000915/0.000915, allocations: 161.2 kB / 25.44 MB, free: 9.355 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 0.9516/0.9516, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.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.633e-06/1.633e-06, allocations: 0 / 299.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.617e-05, allocations: 2.281 kB / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.002741/0.002767, allocations: 2.547 MB / 302.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.004113, allocations: 0.8188 MB / 303 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.004263, allocations: 7.938 kB / 303.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.004494, allocations: 67.47 kB / 303.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.004732, allocations: 146.8 kB / 303.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.004903, allocations: 91.75 kB / 303.4 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.005346, allocations: 458.1 kB / 303.8 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.005486, allocations: 67.92 kB / 303.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.00567, allocations: 247.5 kB / 304.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.005823, allocations: 131.7 kB / 304.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.005865, allocations: 36 kB / 304.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.515e-05/0.0059, allocations: 32 kB / 304.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.005948, allocations: 75.75 kB / 304.4 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.006045, allocations: 135.7 kB / 304.5 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.006377, allocations: 466.6 kB / 305 MB, free: 1.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006379, allocations: 0 / 305 MB, free: 1.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00638, allocations: 0 / 305 MB, free: 1.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.006386, allocations: 0 / 305 MB, free: 1.629 MB / 282.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.0007411/0.007127, allocations: 0.6118 MB / 305.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.007164, allocations: 15.98 kB / 305.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.007229, allocations: 44.7 kB / 305.6 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.00753, allocations: 253.6 kB / 305.9 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.007631, allocations: 98.17 kB / 306 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.007667, allocations: 24.38 kB / 306 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.00812, allocations: 0.6629 MB / 306.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.008133, allocations: 192 / 306.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.008157, allocations: 16.12 kB / 306.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.008164, allocations: 8 kB / 306.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.008418, allocations: 201.9 kB / 306.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.009264, allocations: 0.6584 MB / 307.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.009611, allocations: 255 kB / 307.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.009735, allocations: 108.8 kB / 307.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.009762, allocations: 4 kB / 307.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.009785, allocations: 42.5 kB / 307.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.203e-06/0.009786, allocations: 0 / 307.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006462/0.01043, allocations: 410.2 kB / 308.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.01053, allocations: 312.4 kB / 308.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.01072, allocations: 288.2 kB / 308.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.01074, allocations: 33.64 kB / 309 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.01083, allocations: 168.8 kB / 309.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.01089, allocations: 115 kB / 309.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.01096, allocations: 65.45 kB / 309.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.01105, allocations: 342.8 kB / 309.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.01118, allocations: 117.7 kB / 309.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.01144, allocations: 0.4987 MB / 310.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.01182, allocations: 258.7 kB / 310.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01183, allocations: 0 / 310.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003853/0.01221, allocations: 398.6 kB / 310.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.01224, allocations: 41.8 kB / 310.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.01225, allocations: 0 / 310.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.01236, allocations: 36.84 kB / 311 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.01282, allocations: 159.8 kB / 311.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.01481, allocations: 2.964 MB / 314.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01494, allocations: 35.88 kB / 314.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01496, allocations: 12 kB / 314.1 MB, free: 7.711 MB / 298.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.0001221/0.01508, allocations: 153.7 kB / 314.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.01512, allocations: 35.8 kB / 314.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.01517, allocations: 43.02 kB / 314.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01517, allocations: 4.094 kB / 314.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01517, allocations: 3.938 kB / 314.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000425/0.01559, allocations: 0.6549 MB / 315 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.01581, allocations: 261.1 kB / 315.3 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01582, allocations: 0 / 315.3 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.01639, allocations: 207.8 kB / 315.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.292e-05/0.01644, allocations: 24.94 kB / 315.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.01646, allocations: 11.98 kB / 315.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.01826, allocations: 2.78 MB / 318.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01826, allocations: 7.938 kB / 318.3 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.01875, allocations: 0.5123 MB / 318.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.01884, allocations: 63.84 kB / 318.9 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.01886, allocations: 8 kB / 318.9 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.01898, allocations: 24.09 kB / 318.9 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.01903, allocations: 31.83 kB / 319 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.01905, allocations: 8 kB / 319 MB, free: 2.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.01917, allocations: 203.1 kB / 319.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01917, allocations: 0 / 319.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.01943, allocations: 103.9 kB / 319.3 MB, free: 2.219 MB / 298.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.0001174/0.01955, allocations: 107.2 kB / 319.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007973/0.02034, allocations: 0.5424 MB / 319.9 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.02035, allocations: 4.188 kB / 319.9 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.02095, allocations: 390.3 kB / 320.3 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.02127, allocations: 95.11 kB / 320.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009989/0.02227, allocations: 0.7661 MB / 321.1 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.02237, allocations: 173.8 kB / 321.3 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.02243, allocations: 36.42 kB / 321.4 MB, free: 12 kB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02243, allocations: 0 / 321.4 MB, free: 12 kB / 298.7 MB Notification: Performance of Templates: time 0.006431/0.02886, allocations: 6.992 MB / 328.3 MB, free: 9.02 MB / 314.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.75259614456445]