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.0008032/0.0008032, allocations: 98.7 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009565/0.0009565, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002073/0.0002073, allocations: 4 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09102, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003924/0.09499, allocations: 3.916 MB / 362 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.09683, allocations: 1.251 MB / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.09707, allocations: 19.88 kB / 363.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.09731, allocations: 103.2 kB / 363.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005449/0.09786, allocations: 343 kB / 363.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.09819, allocations: 163.8 kB / 363.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008523/0.09906, allocations: 0.7849 MB / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.09943, allocations: 268.7 kB / 364.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.09978, allocations: 370.8 kB / 365.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.1002, allocations: 434.2 kB / 365.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.1004, allocations: 60 kB / 365.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1005, allocations: 60 kB / 365.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.1006, allocations: 163.4 kB / 366 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1008, allocations: 197.3 kB / 366.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006326/0.1014, allocations: 0.8295 MB / 367 MB, free: 4.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1014, allocations: 3.938 kB / 367 MB, free: 4.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1014, allocations: 0 / 367 MB, free: 4.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1015, allocations: 0 / 367 MB, free: 4.934 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.001889/0.1034, allocations: 1.158 MB / 368.1 MB, free: 3.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1034, allocations: 8.031 kB / 368.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.1036, allocations: 106.9 kB / 368.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.1042, allocations: 487.8 kB / 368.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.1044, allocations: 154.3 kB / 368.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.1045, allocations: 60 kB / 368.9 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.1058, allocations: 0.8392 MB / 369.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.1058, allocations: 11.92 kB / 369.8 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.1059, allocations: 28 kB / 369.8 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1059, allocations: 16 kB / 369.8 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.107, allocations: 0.579 MB / 370.4 MB, free: 1.273 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.1672/0.2742, allocations: 2.055 MB / 372.5 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.2762, allocations: 1.018 MB / 373.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.2763, allocations: 20.41 kB / 373.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.2764, allocations: 47.06 kB / 373.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.755e-06/0.2764, allocations: 0 / 373.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005101/0.2815, allocations: 1.881 MB / 375.4 MB, free: 17.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.2817, allocations: 0.8228 MB / 376.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.2823, allocations: 0.5888 MB / 376.8 MB, free: 16.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.2824, allocations: 40.58 kB / 376.9 MB, free: 16.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.2826, allocations: 326.4 kB / 377.2 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.2828, allocations: 259 kB / 377.5 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2829, allocations: 17.72 kB / 377.5 MB, free: 16.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.283, allocations: 388.1 kB / 377.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.2835, allocations: 254.4 kB / 378.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.2842, allocations: 0.5325 MB / 378.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.2848, allocations: 384.8 kB / 379 MB, free: 15.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.2848, allocations: 9.125 kB / 379 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002317/0.2871, allocations: 1.108 MB / 380.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.2872, allocations: 92.92 kB / 380.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2872, allocations: 1.156 kB / 380.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.2879, allocations: 252.7 kB / 380.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.2884, allocations: 130.9 kB / 380.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006309/0.2948, allocations: 6.583 MB / 387.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.2956, allocations: 113.2 kB / 387.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.2957, allocations: 22.69 kB / 387.3 MB, free: 8.508 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003121/0.296, allocations: 217.5 kB / 387.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.2961, allocations: 88.09 kB / 387.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.2963, allocations: 91.36 kB / 387.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.2963, allocations: 8.641 kB / 387.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2963, allocations: 5.906 kB / 387.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002137/0.2985, allocations: 1.249 MB / 389 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/0.302, allocations: 1.874 MB / 390.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.302, allocations: 0 / 390.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.3026, allocations: 127.3 kB / 391 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005333/0.3031, allocations: 216.5 kB / 391.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.3032, allocations: 14.66 kB / 391.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005358/0.3086, allocations: 5.144 MB / 396.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3086, allocations: 0.5156 kB / 396.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.3114, allocations: 1.379 MB / 397.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.3117, allocations: 225.6 kB / 397.9 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.3118, allocations: 22 kB / 397.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/0.3124, allocations: 53.28 kB / 398 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.3126, allocations: 57.44 kB / 398.1 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.3126, allocations: 19.31 kB / 398.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004408/0.3131, allocations: 420.9 kB / 398.5 MB, free: 1.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3131, allocations: 4 kB / 398.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008575/0.3139, allocations: 274.7 kB / 398.8 MB, free: 0.9688 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.3141, allocations: 119.7 kB / 398.9 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.3157, allocations: 1.32 MB / 400.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3157, allocations: 1.5 kB / 400.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.3169, allocations: 0.7676 MB / 401 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.3177, allocations: 194.4 kB / 401.2 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.3202, allocations: 1.887 MB / 403 MB, free: 14.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.3207, allocations: 0.9557 MB / 404 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.3211, allocations: 91.55 kB / 404.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3212, allocations: 53.62 kB / 404.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3212, allocations: 1.438 kB / 404.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of Templates: time 0.02133/0.3426, allocations: 15.21 MB / 419.4 MB, free: 15.39 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches