Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 110.1 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 191 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009643/0.0009644, allocations: 51.91 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2386, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005234/0.2438, allocations: 4.948 MB / 405.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.2465, allocations: 1.281 MB / 407 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.2468, allocations: 8 kB / 407 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.2474, allocations: 162.6 kB / 407.1 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009176/0.2484, allocations: 321.2 kB / 407.4 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006716/0.2491, allocations: 227.6 kB / 407.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.2508, allocations: 1.149 MB / 408.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006318/0.2514, allocations: 342 kB / 409.1 MB, free: 428 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005835/0.252, allocations: 438.6 kB / 409.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007155/0.2527, allocations: 0.5017 MB / 410.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.2529, allocations: 100 kB / 410.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2532, allocations: 104 kB / 410.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.2534, allocations: 219.3 kB / 410.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006041/0.254, allocations: 0.5133 MB / 411 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.2555, allocations: 1.187 MB / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2555, allocations: 4 kB / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2555, allocations: 0 / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2555, allocations: 0 / 412.2 MB, free: 13.36 MB / 334.1 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.00292/0.2584, allocations: 1.34 MB / 413.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.2585, allocations: 11.89 kB / 413.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.2588, allocations: 116.3 kB / 413.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.2599, allocations: 0.5519 MB / 414.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.2602, allocations: 143 kB / 414.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2604, allocations: 68.27 kB / 414.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.2623, allocations: 0.8472 MB / 415.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.2624, allocations: 0 / 415.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.2625, allocations: 28 kB / 415.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.2625, allocations: 16 kB / 415.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.2643, allocations: 0.5595 MB / 415.9 MB, free: 9.457 MB / 334.1 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.00441/0.2687, allocations: 2.1 MB / 418 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.2706, allocations: 0.9642 MB / 418.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/0.2712, allocations: 378.4 kB / 419.3 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.2713, allocations: 16.64 kB / 419.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2713, allocations: 43.22 kB / 419.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.2713, allocations: 0 / 419.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004603/0.2759, allocations: 1.74 MB / 421.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000354/0.2763, allocations: 0.8234 MB / 421.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.277, allocations: 0.641 MB / 422.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.2771, allocations: 45.7 kB / 422.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.2774, allocations: 337.5 kB / 422.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.2776, allocations: 273.6 kB / 423.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.2778, allocations: 142.7 kB / 423.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2779, allocations: 390.7 kB / 423.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.2785, allocations: 245.9 kB / 424 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/0.2793, allocations: 0.5312 MB / 424.5 MB, free: 220 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2804, allocations: 0.6271 MB / 425.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2804, allocations: 0 / 425.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002283/0.2827, allocations: 1.056 MB / 426.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/0.2827, allocations: 85.11 kB / 426.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2828, allocations: 0 / 426.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006876/0.2834, allocations: 243.1 kB / 426.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.284, allocations: 123.9 kB / 426.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007503/0.2915, allocations: 6.939 MB / 433.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.2923, allocations: 95.52 kB / 433.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.2924, allocations: 20 kB / 433.7 MB, free: 6.391 MB / 350.1 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.0003177/0.2927, allocations: 225.7 kB / 433.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.2928, allocations: 87.48 kB / 434 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.293, allocations: 91.34 kB / 434.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.293, allocations: 7.938 kB / 434.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.293, allocations: 4 kB / 434.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002166/0.2952, allocations: 1.186 MB / 435.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.2986, allocations: 1.859 MB / 437.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.2986, allocations: 4 kB / 437.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/0.2993, allocations: 131.8 kB / 437.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/0.2998, allocations: 194.6 kB / 437.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.2999, allocations: 20 kB / 437.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005817/0.3057, allocations: 5.315 MB / 442.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3057, allocations: 7.969 kB / 442.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.3085, allocations: 1.313 MB / 444.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.3089, allocations: 240.4 kB / 444.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.309, allocations: 20 kB / 444.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.3096, allocations: 43.89 kB / 444.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.3097, allocations: 64.58 kB / 444.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.3098, allocations: 16 kB / 444.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005217/0.3103, allocations: 459 kB / 444.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3103, allocations: 0 / 444.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008198/0.3111, allocations: 283.8 kB / 445.2 MB, free: 10.18 MB / 366.1 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.000156/0.3113, allocations: 131.1 kB / 445.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.3132, allocations: 1.301 MB / 446.6 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3132, allocations: 4 kB / 446.6 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009193/0.3141, allocations: 0.691 MB / 447.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009097/0.315, allocations: 239.2 kB / 447.6 MB, free: 7.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.3177, allocations: 1.613 MB / 449.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.3182, allocations: 0.9439 MB / 450.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003691/0.3186, allocations: 98.44 kB / 450.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3188, allocations: 71.36 kB / 450.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3188, allocations: 4 kB / 450.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of Templates: time 0.02719/0.346, allocations: 18.08 MB / 468.4 MB, free: 3.07 MB / 382.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches