Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 184.1 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.7 MB / 243.2 MB, free: 8.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007274/0.0007274, allocations: 102.6 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002755, allocations: 4 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2011, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.002793/0.204, allocations: 3.241 MB / 407.8 MB, free: 28.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2051, allocations: 0.9738 MB / 408.8 MB, free: 27.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.2053, allocations: 8 kB / 408.8 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.2055, allocations: 91.36 kB / 408.9 MB, free: 26.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.2058, allocations: 173.6 kB / 409.1 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.2061, allocations: 122.8 kB / 409.2 MB, free: 26.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.2065, allocations: 0.6768 MB / 409.9 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.2067, allocations: 185.1 kB / 410 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.2069, allocations: 239 kB / 410.3 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.2071, allocations: 278.7 kB / 410.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.2072, allocations: 36 kB / 410.6 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-05/0.2073, allocations: 36 kB / 410.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.2074, allocations: 107.5 kB / 410.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.2076, allocations: 320.2 kB / 411 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.2079, allocations: 0.6771 MB / 411.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2079, allocations: 0 / 411.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.208, allocations: 0 / 411.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.208, allocations: 0 / 411.7 MB, free: 24.16 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.001083/0.2091, allocations: 0.8319 MB / 412.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2091, allocations: 8.031 kB / 412.5 MB, free: 23.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.2092, allocations: 68.19 kB / 412.6 MB, free: 23.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.2097, allocations: 442.8 kB / 413 MB, free: 22.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.2099, allocations: 91.22 kB / 413.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.2099, allocations: 40.31 kB / 413.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.2107, allocations: 0.5216 MB / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2107, allocations: 3.938 kB / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.2107, allocations: 15.94 kB / 413.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2107, allocations: 12 kB / 413.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.2116, allocations: 395.7 kB / 414.1 MB, free: 21.59 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.001626/0.2132, allocations: 1.359 MB / 415.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/0.214, allocations: 485.4 kB / 415.9 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.2144, allocations: 208.8 kB / 416.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.2144, allocations: 15.97 kB / 416.2 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.2145, allocations: 38.56 kB / 416.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.2145, allocations: 0 / 416.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.00144/0.2159, allocations: 0.8143 MB / 417 MB, free: 18.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.216, allocations: 441 kB / 417.4 MB, free: 17.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.2165, allocations: 485.8 kB / 417.9 MB, free: 17.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.2165, allocations: 33.7 kB / 418 MB, free: 17.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2166, allocations: 248.5 kB / 418.2 MB, free: 17.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.2167, allocations: 126.1 kB / 418.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.2167, allocations: 8 kB / 418.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.2168, allocations: 358.8 kB / 418.7 MB, free: 16.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.2172, allocations: 167.9 kB / 418.8 MB, free: 16.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.2176, allocations: 314.3 kB / 419.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007291/0.2184, allocations: 390.8 kB / 419.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2184, allocations: 4 kB / 419.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009062/0.2193, allocations: 0.5311 MB / 420.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.2193, allocations: 33.7 kB / 420.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2193, allocations: 0 / 420.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.2195, allocations: 57.67 kB / 420.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.2199, allocations: 95.88 kB / 420.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.2214, allocations: 2.744 MB / 423 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.2218, allocations: 67.59 kB / 423.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.2219, allocations: 12.23 kB / 423.1 MB, free: 11.95 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.0001774/0.222, allocations: 189.6 kB / 423.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.2221, allocations: 55.42 kB / 423.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.246e-05/0.2222, allocations: 52.94 kB / 423.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2222, allocations: 4 kB / 423.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2222, allocations: 0 / 423.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008156/0.223, allocations: 0.7817 MB / 424.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.2244, allocations: 1.099 MB / 425.2 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2245, allocations: 0 / 425.2 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.2249, allocations: 103.9 kB / 425.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2249, allocations: 4 kB / 425.4 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.2249, allocations: 7.984 kB / 425.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.225, allocations: 4 kB / 425.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.225, allocations: 7.938 kB / 425.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.2261, allocations: 0.7371 MB / 426.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.2263, allocations: 176.3 kB / 426.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.2263, allocations: 12 kB / 426.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.2267, allocations: 43.97 kB / 426.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.2268, allocations: 31.89 kB / 426.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2268, allocations: 12 kB / 426.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002728/0.2271, allocations: 330.9 kB / 426.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2271, allocations: 0 / 426.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.2275, allocations: 139.8 kB / 426.8 MB, free: 7.961 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 9.813e-05/0.2276, allocations: 119.2 kB / 427 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.2286, allocations: 0.6917 MB / 427.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2286, allocations: 0 / 427.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.229, allocations: 203.8 kB / 427.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.2297, allocations: 133.9 kB / 428 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.231, allocations: 1.201 MB / 429.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.2312, allocations: 0.8354 MB / 430 MB, free: 4.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.2314, allocations: 68.53 kB / 430.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2316, allocations: 39.44 kB / 430.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.2316, allocations: 0 / 430.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of Templates: time 0.01171/0.2433, allocations: 8.304 MB / 438.4 MB, free: 12.33 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches