Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001346, allocations: 192.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007871/0.0007872, allocations: 99.98 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001978/0.0001978, allocations: 4 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1895, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.002594/0.1921, allocations: 3.254 MB / 415.3 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1932, allocations: 1.164 MB / 416.5 MB, free: 21.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1934, allocations: 15.94 kB / 416.5 MB, free: 21.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1936, allocations: 91.42 kB / 416.6 MB, free: 21.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.1939, allocations: 174.6 kB / 416.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.1941, allocations: 119.8 kB / 416.9 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.1945, allocations: 0.6767 MB / 417.5 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.1948, allocations: 185.1 kB / 417.7 MB, free: 20.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.1949, allocations: 239 kB / 417.9 MB, free: 19.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1952, allocations: 274.7 kB / 418.2 MB, free: 19.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.1952, allocations: 36 kB / 418.2 MB, free: 19.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.701e-05/0.1953, allocations: 39.94 kB / 418.3 MB, free: 19.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.1954, allocations: 111.6 kB / 418.4 MB, free: 19.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.1956, allocations: 320.2 kB / 418.7 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.196, allocations: 0.6693 MB / 419.4 MB, free: 18.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.196, allocations: 3.938 kB / 419.4 MB, free: 18.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.196, allocations: 0 / 419.4 MB, free: 18.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.196, allocations: 4 kB / 419.4 MB, free: 18.47 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001078/0.1971, allocations: 0.8314 MB / 420.2 MB, free: 17.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1971, allocations: 8.031 kB / 420.2 MB, free: 17.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.1972, allocations: 68.19 kB / 420.3 MB, free: 17.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.1977, allocations: 446.8 kB / 420.7 MB, free: 17.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.1979, allocations: 83.23 kB / 420.8 MB, free: 16.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.198, allocations: 32.38 kB / 420.8 MB, free: 16.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.1987, allocations: 0.5255 MB / 421.4 MB, free: 16.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1987, allocations: 0 / 421.4 MB, free: 16.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.1988, allocations: 20 kB / 421.4 MB, free: 16.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1988, allocations: 12 kB / 421.4 MB, free: 16.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000809/0.1996, allocations: 391.7 kB / 421.8 MB, free: 15.91 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.2012, allocations: 1.351 MB / 423.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007885/0.202, allocations: 489.8 kB / 423.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.2024, allocations: 216.8 kB / 423.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.2025, allocations: 8 kB / 423.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.2025, allocations: 42.56 kB / 423.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.373e-06/0.2025, allocations: 0 / 423.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.0015/0.204, allocations: 0.8053 MB / 424.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.2041, allocations: 445 kB / 425.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.2045, allocations: 485.8 kB / 425.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2045, allocations: 37.7 kB / 425.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2046, allocations: 240.5 kB / 425.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.2047, allocations: 134.1 kB / 426 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.2047, allocations: 11.94 kB / 426 MB, free: 11.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.2048, allocations: 358.8 kB / 426.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.2052, allocations: 167.9 kB / 426.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.2056, allocations: 310.4 kB / 426.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.2064, allocations: 410.4 kB / 427.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2064, allocations: 4 kB / 427.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009321/0.2073, allocations: 0.5196 MB / 427.7 MB, free: 9.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.2074, allocations: 37.7 kB / 427.8 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2074, allocations: 3.984 kB / 427.8 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.2075, allocations: 45.7 kB / 427.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.2079, allocations: 99.88 kB / 427.9 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.2094, allocations: 2.736 MB / 430.7 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.2098, allocations: 75.59 kB / 430.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.2098, allocations: 8 kB / 430.7 MB, free: 6.266 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.21, allocations: 185.7 kB / 430.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.2101, allocations: 51.44 kB / 431 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/0.2102, allocations: 56.92 kB / 431 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2102, allocations: 7.938 kB / 431 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2102, allocations: 0 / 431 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008418/0.211, allocations: 0.7817 MB / 431.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.2124, allocations: 1.096 MB / 432.9 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2124, allocations: 4 kB / 432.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.2128, allocations: 107.9 kB / 433 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2129, allocations: 4 kB / 433 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2129, allocations: 7.984 kB / 433 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2129, allocations: 0 / 433 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2129, allocations: 4 kB / 433 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.2142, allocations: 0.7332 MB / 433.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2144, allocations: 172.4 kB / 433.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.2144, allocations: 8 kB / 433.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.2149, allocations: 51.95 kB / 434 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.2149, allocations: 27.84 kB / 434 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.215, allocations: 12 kB / 434 MB, free: 2.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002823/0.2153, allocations: 334.9 kB / 434.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2153, allocations: 0 / 434.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.2156, allocations: 139.8 kB / 434.5 MB, free: 2.289 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001053/0.2157, allocations: 119.2 kB / 434.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.2168, allocations: 0.6953 MB / 435.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2168, allocations: 4.062 kB / 435.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.2172, allocations: 208.1 kB / 435.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.2178, allocations: 135 kB / 435.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2192, allocations: 1.185 MB / 436.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.2195, allocations: 0.8434 MB / 437.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002555/0.2198, allocations: 60.53 kB / 437.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2199, allocations: 47.44 kB / 437.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2199, allocations: 0 / 437.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of Templates: time 0.01336/0.2333, allocations: 8.306 MB / 446.1 MB, free: 6.652 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches