Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 106.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009528/0.0009529, allocations: 47.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2081, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003327/0.2115, allocations: 2.758 MB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2126, allocations: 0.8216 MB / 405 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.2127, allocations: 0 / 405 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.213, allocations: 79.41 kB / 405 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.2132, allocations: 138.9 kB / 405.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.2134, allocations: 87.83 kB / 405.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.2138, allocations: 442.3 kB / 405.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.214, allocations: 103.4 kB / 405.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.2142, allocations: 163.4 kB / 406 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.2144, allocations: 175.3 kB / 406.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.2145, allocations: 32 kB / 406.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.2146, allocations: 39.94 kB / 406.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.2146, allocations: 79.67 kB / 406.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2148, allocations: 195.1 kB / 406.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.2152, allocations: 443.6 kB / 406.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2152, allocations: 0 / 406.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2152, allocations: 4 kB / 406.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2152, allocations: 0 / 406.9 MB, free: 3.352 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.001016/0.2162, allocations: 0.6756 MB / 407.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2163, allocations: 15.89 kB / 407.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.279e-05/0.2164, allocations: 40.47 kB / 407.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.2168, allocations: 299.5 kB / 407.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.09e-05/0.2169, allocations: 50.69 kB / 408 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.2169, allocations: 20.38 kB / 408 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.2174, allocations: 321.6 kB / 408.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2174, allocations: 0 / 408.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.2175, allocations: 12 kB / 408.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2175, allocations: 4 kB / 408.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.2179, allocations: 205.6 kB / 408.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.2192, allocations: 0.7986 MB / 409.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.2198, allocations: 286.9 kB / 409.6 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.22, allocations: 112.9 kB / 409.7 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.22, allocations: 11.98 kB / 409.7 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.2201, allocations: 42.56 kB / 409.8 MB, free: 284 kB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.2201, allocations: 0 / 409.8 MB, free: 284 kB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001026/0.2211, allocations: 479.2 kB / 410.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.2212, allocations: 316.4 kB / 410.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.2215, allocations: 290.9 kB / 410.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.2215, allocations: 33.7 kB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2216, allocations: 160.8 kB / 411 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.2217, allocations: 114.4 kB / 411.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.2218, allocations: 61.7 kB / 411.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2219, allocations: 342.8 kB / 411.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2222, allocations: 95.89 kB / 411.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.2224, allocations: 213 kB / 411.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.2229, allocations: 267.5 kB / 412.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2229, allocations: 7.938 kB / 412.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006239/0.2236, allocations: 365.6 kB / 412.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.2236, allocations: 33.7 kB / 412.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2236, allocations: 4.094 kB / 412.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.2238, allocations: 40.83 kB / 412.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.2248, allocations: 155.9 kB / 412.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.2284, allocations: 3.225 MB / 415.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.2286, allocations: 39.75 kB / 416 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.2287, allocations: 12 kB / 416 MB, free: 9.582 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.0001589/0.2288, allocations: 155.4 kB / 416.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.2289, allocations: 35.62 kB / 416.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.229, allocations: 39.08 kB / 416.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006474/0.2297, allocations: 0.6511 MB / 416.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2297, allocations: 0 / 416.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.2298, allocations: 136.6 kB / 417 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2299, allocations: 12 kB / 417 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.2301, allocations: 19.92 kB / 417 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.2302, allocations: 11.98 kB / 417 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001683/0.2319, allocations: 0.522 MB / 417.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008135/0.2327, allocations: 0.5568 MB / 418.1 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002169/0.2329, allocations: 103.9 kB / 418.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.2331, allocations: 202 kB / 418.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of Backend: time 3.31e-07/0.2331, allocations: 0 / 418.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.2348, allocations: 0.5354 MB / 418.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of SimCode: time 0.001313/0.2361, allocations: 1.283 MB / 420.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of Templates: time 0.00949/0.2456, allocations: 5.935 MB / 426.1 MB, free: 15.24 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches