Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001117/0.001117, allocations: 107.5 kB / 18.4 MB, free: 4.699 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.001166/0.001166, allocations: 187.1 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 48.31 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.2303/0.3353, allocations: 4.935 MB / 380.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.3383, allocations: 1.332 MB / 382.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.3387, allocations: 9.312 kB / 382.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.3392, allocations: 165 kB / 382.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006895/0.3399, allocations: 321.9 kB / 382.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.3405, allocations: 223.4 kB / 382.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.3419, allocations: 1.156 MB / 383.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006657/0.3426, allocations: 330.6 kB / 384.3 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.3432, allocations: 451.3 kB / 384.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006414/0.3438, allocations: 0.4935 MB / 385.2 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.344, allocations: 106.8 kB / 385.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.3442, allocations: 103.1 kB / 385.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.3444, allocations: 220.2 kB / 385.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.3449, allocations: 0.5125 MB / 386.1 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3462, allocations: 1.18 MB / 387.3 MB, free: 7.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3462, allocations: 0 / 387.3 MB, free: 7.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3462, allocations: 0 / 387.3 MB, free: 7.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3462, allocations: 1.062 kB / 387.3 MB, free: 7.824 MB / 318.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.002511/0.3487, allocations: 1.314 MB / 388.6 MB, free: 6.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3488, allocations: 12.92 kB / 388.6 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.349, allocations: 110.6 kB / 388.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008739/0.3499, allocations: 0.5466 MB / 389.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.3501, allocations: 142 kB / 389.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3502, allocations: 64.92 kB / 389.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.3516, allocations: 0.8424 MB / 390.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3516, allocations: 1.031 kB / 390.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.3517, allocations: 33.03 kB / 390.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.3518, allocations: 13.84 kB / 390.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.353, allocations: 0.5573 MB / 390.9 MB, free: 5.582 MB / 318.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.003523/0.3565, allocations: 2.093 MB / 393 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.3584, allocations: 0.9623 MB / 394 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/0.3592, allocations: 373.7 kB / 394.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.544e-05/0.3593, allocations: 17.34 kB / 394.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.3593, allocations: 50.98 kB / 394.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.036e-06/0.3593, allocations: 3.938 kB / 394.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004975/0.3643, allocations: 1.735 MB / 396.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.3645, allocations: 0.8231 MB / 397 MB, free: 1.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008197/0.3653, allocations: 0.6344 MB / 397.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/0.3654, allocations: 44.48 kB / 397.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.3657, allocations: 333.5 kB / 398 MB, free: 1.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.3659, allocations: 249.5 kB / 398.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.3661, allocations: 149.5 kB / 398.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3663, allocations: 389.3 kB / 398.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.3668, allocations: 248.7 kB / 399 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/0.3677, allocations: 0.528 MB / 399.5 MB, free: 88 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.369, allocations: 0.6482 MB / 400.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3691, allocations: 1.375 kB / 400.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002574/0.3716, allocations: 1.048 MB / 401.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.785e-05/0.3717, allocations: 89.77 kB / 401.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3717, allocations: 0 / 401.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007148/0.3725, allocations: 236.6 kB / 401.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.373, allocations: 123.6 kB / 401.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008117/0.3812, allocations: 6.939 MB / 408.6 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.3824, allocations: 93.02 kB / 408.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.3825, allocations: 22.09 kB / 408.7 MB, free: 8.715 MB / 334.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.0004456/0.3829, allocations: 223.3 kB / 408.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.3831, allocations: 84.62 kB / 409 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.3833, allocations: 94.11 kB / 409.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3833, allocations: 10.94 kB / 409.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.3833, allocations: 1.188 kB / 409.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002398/0.3857, allocations: 1.179 MB / 410.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/0.3897, allocations: 1.869 MB / 412.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3897, allocations: 1.375 kB / 412.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.3903, allocations: 128.3 kB / 412.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/0.3909, allocations: 196.6 kB / 412.5 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/0.391, allocations: 21.55 kB / 412.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00687/0.3978, allocations: 5.31 MB / 417.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.3979, allocations: 3.938 kB / 417.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.401, allocations: 1.317 MB / 419.1 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/0.4016, allocations: 236 kB / 419.4 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.4019, allocations: 24.12 kB / 419.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.4026, allocations: 36.97 kB / 419.4 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.4028, allocations: 62.92 kB / 419.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.4029, allocations: 21.86 kB / 419.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000689/0.4036, allocations: 455 kB / 420 MB, free: 15.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4036, allocations: 0 / 420 MB, free: 15.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001188/0.4048, allocations: 286.3 kB / 420.2 MB, free: 15.67 MB / 350.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.0002116/0.405, allocations: 129.2 kB / 420.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002362/0.4073, allocations: 1.294 MB / 421.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.4074, allocations: 2.406 kB / 421.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.4085, allocations: 0.6921 MB / 422.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4097, allocations: 242.1 kB / 422.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.413, allocations: 1.621 MB / 424.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.4136, allocations: 0.9401 MB / 425.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.4138, allocations: 71.42 kB / 425.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4138, allocations: 0 / 425.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Templates: time 0.02818/0.442, allocations: 22.09 MB / 447.3 MB, free: 5.273 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches