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.001345/0.001345, allocations: 114.5 kB / 17.74 MB, free: 5.359 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.001343/0.001343, allocations: 188.5 kB / 18.67 MB, free: 4.441 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2545, allocations: 49.43 MB / 401.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006554/0.2611, allocations: 4.941 MB / 406.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.2642, allocations: 1.281 MB / 407.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008365/0.265, allocations: 11.94 kB / 407.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007038/0.2658, allocations: 158.6 kB / 407.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.2671, allocations: 321.2 kB / 408.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.2679, allocations: 227.6 kB / 408.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.2697, allocations: 1.159 MB / 409.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005771/0.2703, allocations: 335.3 kB / 409.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007718/0.271, allocations: 438.5 kB / 410.2 MB, free: 156 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009652/0.272, allocations: 0.5018 MB / 410.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.2722, allocations: 104 kB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.2725, allocations: 104 kB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.2727, allocations: 219.3 kB / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005217/0.2732, allocations: 0.5211 MB / 411.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.2744, allocations: 1.176 MB / 412.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2745, allocations: 0 / 412.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2745, allocations: 0 / 412.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.2745, allocations: 0 / 412.9 MB, free: 13.52 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.002256/0.2767, allocations: 1.317 MB / 414.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2768, allocations: 11.89 kB / 414.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.277, allocations: 111.8 kB / 414.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/0.2778, allocations: 0.5474 MB / 414.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.278, allocations: 151 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.2781, allocations: 56.38 kB / 415 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2794, allocations: 0.8433 MB / 415.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.2794, allocations: 0 / 415.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.2795, allocations: 31.98 kB / 415.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.2795, allocations: 20 kB / 415.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.2806, allocations: 0.5517 MB / 416.5 MB, free: 9.652 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.003324/0.284, allocations: 2.104 MB / 418.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.2857, allocations: 0.968 MB / 419.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/0.2863, allocations: 370.4 kB / 419.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.638e-05/0.2864, allocations: 20.7 kB / 419.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.2864, allocations: 43.22 kB / 420 MB, free: 5.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.415e-06/0.2865, allocations: 8 kB / 420 MB, free: 5.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004751/0.2912, allocations: 1.73 MB / 421.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003646/0.2916, allocations: 0.8234 MB / 422.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.2924, allocations: 0.6465 MB / 423.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.2925, allocations: 41.7 kB / 423.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.2927, allocations: 333.1 kB / 423.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.2929, allocations: 248.3 kB / 423.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.2932, allocations: 142.7 kB / 423.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2934, allocations: 398.7 kB / 424.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.2939, allocations: 245.9 kB / 424.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007558/0.2946, allocations: 0.5234 MB / 425.1 MB, free: 444 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2957, allocations: 0.631 MB / 425.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2958, allocations: 0 / 425.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002359/0.2981, allocations: 1.051 MB / 426.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.886e-05/0.2982, allocations: 89.09 kB / 426.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2982, allocations: 7.938 kB / 426.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/0.2989, allocations: 235.2 kB / 427.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.2995, allocations: 131.8 kB / 427.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007692/0.3072, allocations: 6.919 MB / 434.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.3081, allocations: 99.22 kB / 434.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.3081, allocations: 23.98 kB / 434.3 MB, free: 6.609 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.0003632/0.3085, allocations: 217.8 kB / 434.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.3087, allocations: 83.06 kB / 434.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.3088, allocations: 91.34 kB / 434.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3088, allocations: 11.94 kB / 434.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3089, allocations: 0 / 434.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00212/0.311, allocations: 1.19 MB / 435.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.3145, allocations: 1.863 MB / 437.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3145, allocations: 0 / 437.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.3151, allocations: 127.8 kB / 437.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005374/0.3157, allocations: 202.7 kB / 438 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.3157, allocations: 15.98 kB / 438.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005889/0.3216, allocations: 5.311 MB / 443.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3217, allocations: 3.938 kB / 443.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.3246, allocations: 1.312 MB / 444.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.325, allocations: 239.9 kB / 444.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.3251, allocations: 23.98 kB / 444.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.3257, allocations: 35.97 kB / 445 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.3258, allocations: 60.58 kB / 445 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.3259, allocations: 16 kB / 445.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005491/0.3264, allocations: 459 kB / 445.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3264, allocations: 3.938 kB / 445.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008623/0.3273, allocations: 287.6 kB / 445.8 MB, free: 10.41 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.0001718/0.3275, allocations: 131.6 kB / 445.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00194/0.3294, allocations: 1.301 MB / 447.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.3294, allocations: 4 kB / 447.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000943/0.3304, allocations: 0.6874 MB / 447.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009806/0.3314, allocations: 234.9 kB / 448.1 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.3343, allocations: 1.628 MB / 449.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.3349, allocations: 0.9439 MB / 450.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.3351, allocations: 67.42 kB / 450.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3351, allocations: 0 / 450.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of Templates: time 0.02549/0.3606, allocations: 22.19 MB / 473 MB, free: 15.1 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/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