Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2553, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006233/0.2616, allocations: 4.951 MB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.2642, allocations: 1.316 MB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003084/0.2645, allocations: 8 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.265, allocations: 166.5 kB / 416.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.2656, allocations: 321.2 kB / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.266, allocations: 227.6 kB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.2671, allocations: 1.164 MB / 418.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.2676, allocations: 325.8 kB / 418.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.2681, allocations: 446.4 kB / 418.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006578/0.2687, allocations: 0.4902 MB / 419.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.2689, allocations: 104 kB / 419.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.2691, allocations: 104 kB / 419.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.2693, allocations: 223.2 kB / 419.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006479/0.27, allocations: 0.5211 MB / 420.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.2711, allocations: 1.169 MB / 421.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2711, allocations: 0 / 421.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2711, allocations: 0 / 421.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.2712, allocations: 4 kB / 421.4 MB, free: 6.004 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.002402/0.2736, allocations: 1.317 MB / 422.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2736, allocations: 12.03 kB / 422.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.2738, allocations: 103.8 kB / 422.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009652/0.2748, allocations: 0.5474 MB / 423.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.275, allocations: 143 kB / 423.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2751, allocations: 68.36 kB / 423.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.2766, allocations: 0.8432 MB / 424.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.2767, allocations: 0 / 424.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.2768, allocations: 35.98 kB / 424.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.2768, allocations: 15.94 kB / 424.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.2786, allocations: 0.5556 MB / 425.1 MB, free: 2.137 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.003578/0.2822, allocations: 2.1 MB / 427.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.2841, allocations: 0.9553 MB / 428.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008469/0.2849, allocations: 374.7 kB / 428.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-05/0.285, allocations: 12.72 kB / 428.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.285, allocations: 51.16 kB / 428.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.564e-06/0.2851, allocations: 0 / 428.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005317/0.2904, allocations: 1.734 MB / 430.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003835/0.2908, allocations: 0.8273 MB / 431.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009037/0.2917, allocations: 0.6371 MB / 431.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.2918, allocations: 41.7 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.2921, allocations: 333.1 kB / 432.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.2924, allocations: 244.3 kB / 432.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.2927, allocations: 150.6 kB / 432.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.2929, allocations: 390.7 kB / 432.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.2934, allocations: 249.9 kB / 433.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007809/0.2942, allocations: 0.5273 MB / 433.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.2956, allocations: 0.6387 MB / 434.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.2956, allocations: 0 / 434.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002914/0.2986, allocations: 1.048 MB / 435.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.2987, allocations: 92.22 kB / 435.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2987, allocations: 0 / 435.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/0.2994, allocations: 235.2 kB / 435.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.3, allocations: 127.9 kB / 435.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009215/0.3092, allocations: 6.932 MB / 442.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009696/0.3102, allocations: 99.17 kB / 442.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.3104, allocations: 20 kB / 442.8 MB, free: 15.11 MB / 366.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.0004609/0.3108, allocations: 221.8 kB / 443 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.3111, allocations: 91.05 kB / 443.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.3113, allocations: 95.33 kB / 443.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.3113, allocations: 11.94 kB / 443.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3113, allocations: 0 / 443.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002487/0.3138, allocations: 1.179 MB / 444.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.3182, allocations: 1.867 MB / 446.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3182, allocations: 4.062 kB / 446.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.3189, allocations: 127.8 kB / 446.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005443/0.3194, allocations: 198.4 kB / 446.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.3195, allocations: 15.98 kB / 446.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006884/0.3264, allocations: 5.31 MB / 451.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3264, allocations: 3.938 kB / 451.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/0.3295, allocations: 1.312 MB / 453.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.3299, allocations: 239.9 kB / 453.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.3301, allocations: 20 kB / 453.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.3308, allocations: 35.97 kB / 453.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.3309, allocations: 64.52 kB / 453.6 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.331, allocations: 23.92 kB / 453.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005891/0.3316, allocations: 459.1 kB / 454.1 MB, free: 3.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3316, allocations: 0 / 454.1 MB, free: 3.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3326, allocations: 283.6 kB / 454.3 MB, free: 2.906 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.0001873/0.3328, allocations: 123.4 kB / 454.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.3349, allocations: 1.305 MB / 455.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.335, allocations: 4.125 kB / 455.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009699/0.3359, allocations: 0.6871 MB / 456.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.337, allocations: 239 kB / 456.7 MB, free: 436 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.3398, allocations: 1.62 MB / 458.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.3403, allocations: 0.9323 MB / 459.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.3406, allocations: 71.42 kB / 459.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3406, allocations: 0 / 459.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.02664/0.3672, allocations: 22.09 MB / 481.4 MB, free: 7.707 MB / 398.1 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/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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches