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.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001296, allocations: 175.6 kB / 16.71 MB, free: 5.094 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.268/1.268, allocations: 225.7 MB / 243.2 MB, free: 8.438 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.0007959/0.0007962, allocations: 101.5 kB / 294.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.00025, allocations: 15.92 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2139, allocations: 50.41 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003228/0.2172, allocations: 4.312 MB / 408.9 MB, free: 26.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2187, allocations: 1.429 MB / 410.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.2189, allocations: 8 kB / 410.3 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.2192, allocations: 127.1 kB / 410.4 MB, free: 25.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.2196, allocations: 281.7 kB / 410.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.22, allocations: 195.8 kB / 410.9 MB, free: 24.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006688/0.2206, allocations: 1.098 MB / 412 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.221, allocations: 304.1 kB / 412.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.2212, allocations: 402.4 kB / 412.7 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.2216, allocations: 466 kB / 413.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.27e-05/0.2217, allocations: 67.94 kB / 413.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2218, allocations: 64 kB / 413.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.2219, allocations: 183.2 kB / 413.5 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.2223, allocations: 0.5071 MB / 414 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.2229, allocations: 1.105 MB / 415.1 MB, free: 20.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2229, allocations: 0 / 415.1 MB, free: 20.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2229, allocations: 0 / 415.1 MB, free: 20.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.2229, allocations: 0 / 415.1 MB, free: 20.7 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001652/0.2246, allocations: 1.158 MB / 416.2 MB, free: 19.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2246, allocations: 12.03 kB / 416.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.2248, allocations: 103.8 kB / 416.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.2254, allocations: 0.5513 MB / 416.9 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.2256, allocations: 147 kB / 417 MB, free: 18.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.2257, allocations: 56.38 kB / 417.1 MB, free: 18.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.2269, allocations: 0.855 MB / 417.9 MB, free: 17.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.2269, allocations: 4 kB / 417.9 MB, free: 17.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.227, allocations: 28 kB / 418 MB, free: 17.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.227, allocations: 12 kB / 418 MB, free: 17.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009792/0.228, allocations: 0.5751 MB / 418.6 MB, free: 16.97 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.002685/0.2307, allocations: 2.127 MB / 420.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.2322, allocations: 0.9992 MB / 421.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.2327, allocations: 388.1 kB / 422.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.2328, allocations: 12.72 kB / 422.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2328, allocations: 47.22 kB / 422.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.2328, allocations: 0 / 422.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004273/0.2371, allocations: 1.883 MB / 424 MB, free: 11.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.2373, allocations: 0.8234 MB / 424.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.2379, allocations: 0.6332 MB / 425.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.2379, allocations: 45.7 kB / 425.5 MB, free: 9.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.2381, allocations: 329.1 kB / 425.8 MB, free: 9.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.2383, allocations: 252.3 kB / 426.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.2383, allocations: 16 kB / 426.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.2384, allocations: 394.7 kB / 426.5 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.2389, allocations: 249.9 kB / 426.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.2396, allocations: 0.5351 MB / 427.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009572/0.2405, allocations: 0.6599 MB / 427.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2405, allocations: 0 / 427.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002065/0.2426, allocations: 1.114 MB / 429 MB, free: 5.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.2427, allocations: 81.11 kB / 429.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2427, allocations: 7.984 kB / 429.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.2433, allocations: 243.3 kB / 429.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.2438, allocations: 135.8 kB / 429.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.2498, allocations: 6.503 MB / 436 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/0.2507, allocations: 103.4 kB / 436.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.2508, allocations: 20 kB / 436.1 MB, free: 14.18 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 (70): * Single equations (assignments): 63 * 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.0003309/0.2511, allocations: 217.7 kB / 436.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.2513, allocations: 94.95 kB / 436.4 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.2514, allocations: 91.28 kB / 436.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.2514, allocations: 8 kB / 436.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2515, allocations: 4 kB / 436.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002123/0.2536, allocations: 1.253 MB / 437.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/0.2571, allocations: 1.93 MB / 439.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2572, allocations: 12 kB / 439.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.2578, allocations: 123.9 kB / 439.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.2584, allocations: 214.5 kB / 440 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.2584, allocations: 15.94 kB / 440.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005449/0.2639, allocations: 4.989 MB / 445 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2639, allocations: 3.984 kB / 445.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.2667, allocations: 1.389 MB / 446.4 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.2671, allocations: 235.9 kB / 446.7 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.2672, allocations: 23.98 kB / 446.7 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.2678, allocations: 51.81 kB / 446.7 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.268, allocations: 56.58 kB / 446.8 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.268, allocations: 23.98 kB / 446.8 MB, free: 2.805 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004972/0.2685, allocations: 451.1 kB / 447.3 MB, free: 2.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2685, allocations: 0 / 447.3 MB, free: 2.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007742/0.2693, allocations: 275.8 kB / 447.5 MB, free: 2.102 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (61): * Single equations (assignments): 58 * 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.0001546/0.2695, allocations: 143.1 kB / 447.7 MB, free: 1.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.2713, allocations: 1.297 MB / 449 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2713, allocations: 4.125 kB / 449 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009173/0.2723, allocations: 0.7068 MB / 449.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009987/0.2733, allocations: 218.9 kB / 449.9 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.2762, allocations: 1.982 MB / 451.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.2767, allocations: 0.9362 MB / 452.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000447/0.2772, allocations: 106.4 kB / 452.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.2773, allocations: 59.44 kB / 453 MB, free: 12.46 MB / 330.7 MB Notification: Performance of SimCode: time 4.5e-07/0.2773, allocations: 0 / 453 MB, free: 12.46 MB / 330.7 MB Notification: Performance of Templates: time 0.02511/0.3025, allocations: 16.57 MB / 469.5 MB, free: 11.95 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches