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.001457/0.001457, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.59 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09413, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005847/0.1, allocations: 4.96 MB / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.1026, allocations: 1.312 MB / 365.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005075/0.1031, allocations: 11.94 kB / 365.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.1036, allocations: 166.5 kB / 365.3 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008123/0.1045, allocations: 313.3 kB / 365.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.105, allocations: 223.6 kB / 365.9 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1063, allocations: 1.168 MB / 367 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.1068, allocations: 337.9 kB / 367.4 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.1072, allocations: 442.5 kB / 367.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.1078, allocations: 0.4941 MB / 368.3 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.1079, allocations: 100 kB / 368.4 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1081, allocations: 104 kB / 368.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.1082, allocations: 227.2 kB / 368.7 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.1087, allocations: 0.5133 MB / 369.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009778/0.1097, allocations: 1.18 MB / 370.4 MB, free: 1.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1097, allocations: 0 / 370.4 MB, free: 1.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1097, allocations: 0 / 370.4 MB, free: 1.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.1097, allocations: 4 kB / 370.4 MB, free: 1.773 MB / 302.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.002138/0.1119, allocations: 1.31 MB / 371.7 MB, free: 400 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1119, allocations: 11.97 kB / 371.7 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.1121, allocations: 107.8 kB / 371.8 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1368/0.2488, allocations: 0.5414 MB / 372.4 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.2491, allocations: 146.9 kB / 372.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/0.2492, allocations: 56.8 kB / 372.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.2505, allocations: 0.8376 MB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.2505, allocations: 1.781 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.2506, allocations: 29.34 kB / 373.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.2506, allocations: 21.44 kB / 373.5 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.2518, allocations: 0.5587 MB / 374 MB, free: 19.36 MB / 302.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.003295/0.2551, allocations: 2.092 MB / 376.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.2567, allocations: 0.9707 MB / 377.1 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/0.2573, allocations: 369 kB / 377.4 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.927e-05/0.2574, allocations: 11.02 kB / 377.4 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2574, allocations: 51.06 kB / 377.5 MB, free: 17.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.244e-06/0.2574, allocations: 0.75 kB / 377.5 MB, free: 17.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004493/0.2619, allocations: 1.739 MB / 379.2 MB, free: 16.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.2621, allocations: 0.8264 MB / 380.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.2628, allocations: 0.6379 MB / 380.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.2629, allocations: 45.17 kB / 380.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.2631, allocations: 328.7 kB / 381.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.2632, allocations: 256.7 kB / 381.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.2634, allocations: 144.2 kB / 381.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2636, allocations: 389.3 kB / 381.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.2641, allocations: 251.3 kB / 382.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.2647, allocations: 0.5216 MB / 382.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.2657, allocations: 0.6367 MB / 383.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2658, allocations: 0.7031 kB / 383.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002497/0.2683, allocations: 1.047 MB / 384.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.2683, allocations: 91.16 kB / 384.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2683, allocations: 1.125 kB / 384.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006784/0.269, allocations: 243 kB / 384.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.2696, allocations: 124 kB / 384.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.276, allocations: 6.926 MB / 391.7 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.2768, allocations: 90 kB / 391.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.2769, allocations: 28.16 kB / 391.8 MB, free: 6.562 MB / 302.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.0003189/0.2772, allocations: 220.5 kB / 392 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.2774, allocations: 88.28 kB / 392.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.2775, allocations: 92.53 kB / 392.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2776, allocations: 8.047 kB / 392.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.2776, allocations: 0 / 392.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00203/0.2796, allocations: 1.182 MB / 393.4 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.283, allocations: 1.871 MB / 395.2 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.283, allocations: 5.062 kB / 395.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.2836, allocations: 124.6 kB / 395.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/0.2841, allocations: 202.1 kB / 395.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.2842, allocations: 16.36 kB / 395.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00489/0.2891, allocations: 5.32 MB / 400.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2891, allocations: 1.375 kB / 400.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.2919, allocations: 1.311 MB / 402.2 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.2923, allocations: 250 kB / 402.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2925, allocations: 19.09 kB / 402.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.2931, allocations: 38.81 kB / 402.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.2932, allocations: 66.39 kB / 402.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.2933, allocations: 21.67 kB / 402.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005479/0.2938, allocations: 459.3 kB / 403 MB, free: 14.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2938, allocations: 0 / 403 MB, free: 14.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008642/0.2947, allocations: 273.8 kB / 403.3 MB, free: 14.02 MB / 318.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.0001623/0.2949, allocations: 119.5 kB / 403.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.2968, allocations: 1.305 MB / 404.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.2968, allocations: 7.281 kB / 404.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008902/0.2977, allocations: 0.6947 MB / 405.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/0.2986, allocations: 229.2 kB / 405.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.301, allocations: 1.602 MB / 407.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.3015, allocations: 0.9338 MB / 408.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003828/0.3019, allocations: 104.5 kB / 408.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.3021, allocations: 60.22 kB / 408.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3021, allocations: 0 / 408.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of Templates: time 0.02545/0.3276, allocations: 17.91 MB / 426.3 MB, free: 8.84 MB / 334.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 -s cvode -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