Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2022, allocations: 50.54 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003319/0.2055, allocations: 2.764 MB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2067, allocations: 0.8528 MB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2068, allocations: 4 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.207, allocations: 75.39 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.2073, allocations: 134.9 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.2075, allocations: 87.81 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.2079, allocations: 438.3 kB / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.2081, allocations: 107.3 kB / 414.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.2083, allocations: 159.4 kB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.2085, allocations: 171.3 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.2085, allocations: 39.94 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.047e-05/0.2086, allocations: 32 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.2087, allocations: 87.67 kB / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.2089, allocations: 187.1 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.2093, allocations: 443.6 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2093, allocations: 4 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2093, allocations: 0 / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.2093, allocations: 0 / 415.5 MB, free: 11.98 MB / 334.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.001009/0.2103, allocations: 0.6718 MB / 416.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2103, allocations: 8.031 kB / 416.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.2104, allocations: 44.47 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.2108, allocations: 311.4 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.955e-05/0.2109, allocations: 50.69 kB / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.211, allocations: 28.31 kB / 416.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.2114, allocations: 317.6 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2115, allocations: 0 / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.2115, allocations: 12 kB / 416.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.2115, allocations: 8 kB / 416.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.2119, allocations: 197.6 kB / 417.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.2134, allocations: 0.8063 MB / 417.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.2139, allocations: 274.9 kB / 418.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.2141, allocations: 120.8 kB / 418.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.2142, allocations: 4 kB / 418.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2142, allocations: 34.56 kB / 418.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.2142, allocations: 0 / 418.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009878/0.2152, allocations: 499.2 kB / 418.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.2154, allocations: 320.4 kB / 419.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.2156, allocations: 275 kB / 419.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.2157, allocations: 37.64 kB / 419.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2158, allocations: 172.8 kB / 419.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.907e-05/0.2159, allocations: 102.4 kB / 419.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.216, allocations: 69.69 kB / 419.8 MB, free: 7.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2161, allocations: 338.8 kB / 420.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.2163, allocations: 91.95 kB / 420.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.2166, allocations: 212.2 kB / 420.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.217, allocations: 264.4 kB / 420.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.217, allocations: 3.938 kB / 420.7 MB, free: 6.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006241/0.2177, allocations: 365.6 kB / 421 MB, free: 6.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2177, allocations: 29.7 kB / 421 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2177, allocations: 4 kB / 421 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.2179, allocations: 32.84 kB / 421.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.2189, allocations: 167.8 kB / 421.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003504/0.2224, allocations: 3.236 MB / 424.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.2227, allocations: 35.88 kB / 424.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.2227, allocations: 12 kB / 424.5 MB, free: 2.207 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.000154/0.2229, allocations: 157.7 kB / 424.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.223, allocations: 31.62 kB / 424.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.83e-05/0.2231, allocations: 39.08 kB / 424.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006477/0.2237, allocations: 0.6501 MB / 425.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2237, allocations: 0 / 425.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2239, allocations: 136.6 kB / 425.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.2239, allocations: 8 kB / 425.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.2242, allocations: 23.86 kB / 425.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.2243, allocations: 20.06 kB / 425.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001667/0.2259, allocations: 0.5151 MB / 426.1 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007838/0.2267, allocations: 0.5609 MB / 426.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002019/0.227, allocations: 103.9 kB / 426.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.2271, allocations: 206 kB / 427 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Backend: time 5.61e-07/0.2272, allocations: 0 / 427 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.2288, allocations: 0.5315 MB / 427.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 0.00137/0.2302, allocations: 1.276 MB / 428.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Templates: time 0.009797/0.24, allocations: 5.933 MB / 434.7 MB, free: 7.867 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches