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.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008632/0.0008632, allocations: 183.2 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.243/1.243, allocations: 225.7 MB / 243.2 MB, free: 8.516 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.0008479/0.000848, allocations: 102.4 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002502, allocations: 11.94 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1985, allocations: 50.4 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.003669/0.2023, allocations: 4.547 MB / 409.1 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.2043, allocations: 1.47 MB / 410.6 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004686/0.2048, allocations: 11.94 kB / 410.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.2052, allocations: 127.1 kB / 410.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006978/0.2059, allocations: 293.7 kB / 411 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.2063, allocations: 215.7 kB / 411.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007703/0.2071, allocations: 1.164 MB / 412.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.2074, allocations: 308.4 kB / 412.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.2077, allocations: 418.4 kB / 413.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.2081, allocations: 493.8 kB / 413.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-05/0.2082, allocations: 68 kB / 413.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.2083, allocations: 68 kB / 413.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2084, allocations: 191.2 kB / 413.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.2087, allocations: 0.5187 MB / 414.4 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.2094, allocations: 1.179 MB / 415.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2094, allocations: 0 / 415.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2094, allocations: 0 / 415.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.2094, allocations: 0 / 415.6 MB, free: 20.18 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001743/0.2112, allocations: 1.243 MB / 416.8 MB, free: 18.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2112, allocations: 8.031 kB / 416.8 MB, free: 18.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.2114, allocations: 115.7 kB / 417 MB, free: 18.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007184/0.2121, allocations: 0.5987 MB / 417.6 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.2124, allocations: 182.9 kB / 417.7 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.914e-05/0.2125, allocations: 56.38 kB / 417.8 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.2137, allocations: 0.9174 MB / 418.7 MB, free: 16.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.2137, allocations: 7.938 kB / 418.7 MB, free: 16.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.2138, allocations: 32 kB / 418.7 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2138, allocations: 12 kB / 418.8 MB, free: 16.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2151, allocations: 0.6805 MB / 419.4 MB, free: 16.1 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.002643/0.2178, allocations: 2.194 MB / 421.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.2192, allocations: 1.058 MB / 422.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/0.2199, allocations: 448.7 kB / 423.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/0.22, allocations: 12.64 kB / 423.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.22, allocations: 59.14 kB / 423.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 2.084e-06/0.22, allocations: 0 / 423.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.004578/0.2246, allocations: 2.023 MB / 425.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.2248, allocations: 0.8233 MB / 426 MB, free: 9.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/0.2254, allocations: 0.6645 MB / 426.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.2254, allocations: 45.7 kB / 426.8 MB, free: 8.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.2256, allocations: 349 kB / 427.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.2258, allocations: 272.1 kB / 427.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.2258, allocations: 12 kB / 427.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.2259, allocations: 330 kB / 427.7 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.2265, allocations: 313.8 kB / 428 MB, free: 7.039 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.2273, allocations: 0.5898 MB / 428.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.2286, allocations: 0.7559 MB / 429.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2286, allocations: 7.938 kB / 429.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002352/0.2309, allocations: 1.219 MB / 430.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.231, allocations: 93.09 kB / 430.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.231, allocations: 0 / 430.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.2316, allocations: 255.2 kB / 430.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.2323, allocations: 163.8 kB / 431.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006141/0.2384, allocations: 6.487 MB / 437.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.2393, allocations: 123.4 kB / 437.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.2393, allocations: 27.98 kB / 437.7 MB, free: 12.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.2397, allocations: 221.7 kB / 437.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.2398, allocations: 94.97 kB / 438 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.24, allocations: 100.5 kB / 438.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.24, allocations: 8 kB / 438.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.24, allocations: 0 / 438.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002546/0.2426, allocations: 1.366 MB / 439.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/0.2464, allocations: 2.086 MB / 441.6 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2464, allocations: 0 / 441.6 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.2471, allocations: 159.8 kB / 441.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.2477, allocations: 218.5 kB / 441.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.2477, allocations: 15.98 kB / 442 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005834/0.2536, allocations: 5.067 MB / 447 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2536, allocations: 0 / 447 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003367/0.257, allocations: 1.57 MB / 448.6 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.2573, allocations: 251.8 kB / 448.8 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.2575, allocations: 16 kB / 448.9 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006724/0.2582, allocations: 71.94 kB / 448.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.2583, allocations: 68.5 kB / 449 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.2584, allocations: 32.05 kB / 449 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005477/0.2589, allocations: 471 kB / 449.5 MB, free: 172 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2589, allocations: 0 / 449.5 MB, free: 172 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008392/0.2598, allocations: 287.7 kB / 449.8 MB, free: 15.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001553/0.26, allocations: 127.2 kB / 449.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.2623, allocations: 1.43 MB / 451.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.2623, allocations: 4 kB / 451.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.2637, allocations: 0.8278 MB / 452.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009795/0.2647, allocations: 222.7 kB / 452.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.2676, allocations: 2.06 MB / 454.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.2681, allocations: 0.9559 MB / 455.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000472/0.2685, allocations: 102.7 kB / 455.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.2687, allocations: 67.42 kB / 455.6 MB, free: 9.898 MB / 330.7 MB Notification: Performance of SimCode: time 4.1e-07/0.2687, allocations: 0 / 455.6 MB, free: 9.898 MB / 330.7 MB Notification: Performance of Templates: time 0.02571/0.2944, allocations: 17.18 MB / 472.7 MB, free: 8.785 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches