Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 201.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007335/0.0007337, allocations: 102 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002538, allocations: 4 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2355, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004538/0.24, allocations: 4.32 MB / 416.4 MB, free: 21.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.2425, allocations: 1.615 MB / 418 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.2429, allocations: 11.94 kB / 418 MB, free: 19.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.2433, allocations: 131.1 kB / 418.1 MB, free: 19.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000638/0.2439, allocations: 277.8 kB / 418.4 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.2444, allocations: 199.7 kB / 418.6 MB, free: 19.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.2454, allocations: 1.102 MB / 419.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.2459, allocations: 300.1 kB / 420 MB, free: 17.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.2463, allocations: 390.5 kB / 420.4 MB, free: 17.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005084/0.2468, allocations: 469.9 kB / 420.8 MB, free: 16.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.247, allocations: 64 kB / 420.9 MB, free: 16.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.2471, allocations: 64 kB / 420.9 MB, free: 16.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.2473, allocations: 191.2 kB / 421.1 MB, free: 16.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.2478, allocations: 0.4955 MB / 421.6 MB, free: 16.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009124/0.2487, allocations: 1.109 MB / 422.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2487, allocations: 3.938 kB / 422.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2487, allocations: 0 / 422.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.2487, allocations: 0 / 422.7 MB, free: 15.05 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.002206/0.2509, allocations: 1.158 MB / 423.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.251, allocations: 12.03 kB / 423.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.2512, allocations: 103.8 kB / 424 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.252, allocations: 0.5435 MB / 424.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.2522, allocations: 147 kB / 424.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.2524, allocations: 60.38 kB / 424.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2539, allocations: 0.8511 MB / 425.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2539, allocations: 7.938 kB / 425.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.254, allocations: 31.94 kB / 425.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.2541, allocations: 12 kB / 425.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.2556, allocations: 0.579 MB / 426.2 MB, free: 11.32 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.003761/0.2593, allocations: 2.123 MB / 428.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.2615, allocations: 0.9912 MB / 429.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008583/0.2624, allocations: 388 kB / 429.7 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.868e-05/0.2625, allocations: 10.3 kB / 429.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.2625, allocations: 55.16 kB / 429.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.645e-06/0.2625, allocations: 0 / 429.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.006419/0.269, allocations: 1.875 MB / 431.7 MB, free: 5.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.2692, allocations: 0.8234 MB / 432.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.2701, allocations: 0.6371 MB / 433.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.2702, allocations: 49.64 kB / 433.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.2705, allocations: 329.1 kB / 433.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.2707, allocations: 248.3 kB / 433.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.2707, allocations: 16 kB / 433.8 MB, free: 3.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2708, allocations: 394.7 kB / 434.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.2716, allocations: 253.9 kB / 434.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009503/0.2725, allocations: 0.5351 MB / 434.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.274, allocations: 0.6544 MB / 435.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.274, allocations: 0 / 435.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002679/0.2767, allocations: 1.118 MB / 436.7 MB, free: 200 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.2768, allocations: 85.11 kB / 436.8 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2768, allocations: 4 kB / 436.8 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000978/0.2778, allocations: 259.2 kB / 437 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.2786, allocations: 123.9 kB / 437.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009639/0.2883, allocations: 6.503 MB / 443.7 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.2895, allocations: 107.3 kB / 443.8 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/0.2896, allocations: 20 kB / 443.8 MB, free: 8.539 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.0004492/0.29, allocations: 221.7 kB / 444 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.2902, allocations: 86.97 kB / 444.1 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.2905, allocations: 103.3 kB / 444.2 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2905, allocations: 8 kB / 444.2 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2905, allocations: 0 / 444.2 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003129/0.2936, allocations: 1.241 MB / 445.4 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.2972, allocations: 1.93 MB / 447.4 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2973, allocations: 4 kB / 447.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.2979, allocations: 123.9 kB / 447.5 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/0.2984, allocations: 222.5 kB / 447.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.2985, allocations: 20.12 kB / 447.7 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005311/0.3038, allocations: 4.977 MB / 452.7 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3038, allocations: 4.031 kB / 452.7 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.3067, allocations: 1.385 MB / 454.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.307, allocations: 239.9 kB / 454.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.3072, allocations: 24 kB / 454.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.3078, allocations: 63.8 kB / 454.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.308, allocations: 56.58 kB / 454.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.308, allocations: 19.98 kB / 454.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000524/0.3085, allocations: 455.1 kB / 454.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3086, allocations: 3.938 kB / 454.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008188/0.3094, allocations: 271.8 kB / 455.2 MB, free: 12.46 MB / 330.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.0001588/0.3095, allocations: 135.4 kB / 455.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.3115, allocations: 1.305 MB / 456.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3115, allocations: 4 kB / 456.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009985/0.3125, allocations: 0.7029 MB / 457.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3135, allocations: 224.1 kB / 457.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.3163, allocations: 1.983 MB / 459.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.3169, allocations: 0.94 MB / 460.5 MB, free: 6.973 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004444/0.3173, allocations: 106.4 kB / 460.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.3175, allocations: 63.44 kB / 460.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of SimCode: time 5e-07/0.3175, allocations: 4 kB / 460.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of Templates: time 0.02632/0.3438, allocations: 16.55 MB / 477.2 MB, free: 6.32 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches