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.001498/0.001498, allocations: 113.9 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001782/0.001782, allocations: 204 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2093, allocations: 50.53 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003605/0.213, allocations: 2.775 MB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2143, allocations: 0.849 MB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.2145, allocations: 4 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.2148, allocations: 75.39 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.2151, allocations: 138.9 kB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.2153, allocations: 91.81 kB / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.2158, allocations: 442.3 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.216, allocations: 99.34 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.2162, allocations: 159.4 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.2164, allocations: 179.2 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.2165, allocations: 36 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.2165, allocations: 36 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.799e-05/0.2166, allocations: 75.73 kB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.2168, allocations: 187.1 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.2173, allocations: 454 kB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2173, allocations: 0 / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2173, allocations: 0 / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.2173, allocations: 4 kB / 415.5 MB, free: 12.01 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.001048/0.2183, allocations: 0.6793 MB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2184, allocations: 8.031 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.2185, allocations: 44.7 kB / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.2189, allocations: 311.6 kB / 416.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.219, allocations: 50.69 kB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.219, allocations: 20.38 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.2196, allocations: 321.6 kB / 416.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.2196, allocations: 3.938 kB / 416.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.2197, allocations: 12 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.2197, allocations: 4 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007309/0.2205, allocations: 201.6 kB / 417.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.2226, allocations: 0.7949 MB / 417.9 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/0.2236, allocations: 270.9 kB / 418.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.224, allocations: 124.8 kB / 418.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.224, allocations: 4.094 kB / 418.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.2241, allocations: 42.5 kB / 418.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.2241, allocations: 4 kB / 418.3 MB, free: 8.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001651/0.2257, allocations: 499.2 kB / 418.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/0.226, allocations: 312.4 kB / 419.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.2264, allocations: 279 kB / 419.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.2265, allocations: 41.7 kB / 419.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.2267, allocations: 172.8 kB / 419.6 MB, free: 7.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.2268, allocations: 103.1 kB / 419.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.227, allocations: 73.62 kB / 419.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2272, allocations: 338.8 kB / 420.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.2275, allocations: 91.95 kB / 420.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.2281, allocations: 212.2 kB / 420.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.2288, allocations: 268.3 kB / 420.7 MB, free: 6.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.2289, allocations: 3.938 kB / 420.7 MB, free: 6.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001057/0.2299, allocations: 373.7 kB / 421.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/0.23, allocations: 37.7 kB / 421.1 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.23, allocations: 0 / 421.1 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.2302, allocations: 40.94 kB / 421.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.2319, allocations: 155.8 kB / 421.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/0.2375, allocations: 3.233 MB / 424.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.238, allocations: 27.92 kB / 424.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.238, allocations: 12 kB / 424.6 MB, free: 2.223 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.0002456/0.2383, allocations: 153.7 kB / 424.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.2384, allocations: 35.77 kB / 424.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.2385, allocations: 39.08 kB / 424.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/0.2396, allocations: 0.654 MB / 425.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2397, allocations: 0 / 425.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.2399, allocations: 140.8 kB / 425.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.24, allocations: 4 kB / 425.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.2404, allocations: 27.92 kB / 425.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.2405, allocations: 15.97 kB / 425.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002698/0.2432, allocations: 0.5152 MB / 426.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001354/0.2446, allocations: 0.5612 MB / 426.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003597/0.245, allocations: 107.9 kB / 426.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003029/0.2453, allocations: 198 kB / 427 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Backend: time 6.11e-07/0.2453, allocations: 4 kB / 427 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.2479, allocations: 0.5315 MB / 427.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of SimCode: time 0.002162/0.2501, allocations: 1.286 MB / 428.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Templates: time 0.01698/0.2671, allocations: 5.945 MB / 434.8 MB, free: 7.855 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