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.001031/0.001031, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 60.5 kB / 306.9 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08429, allocations: 50.53 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005489/0.08981, allocations: 4.953 MB / 362.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.09206, allocations: 1.316 MB / 363.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.09255, allocations: 11.94 kB / 363.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.09303, allocations: 158.6 kB / 363.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000754/0.09379, allocations: 321.2 kB / 364.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.09427, allocations: 227.6 kB / 364.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.09548, allocations: 1.149 MB / 365.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.09594, allocations: 326.2 kB / 365.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005244/0.09648, allocations: 454.4 kB / 366.3 MB, free: 5.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.09714, allocations: 0.4902 MB / 366.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.09733, allocations: 104 kB / 366.9 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.09755, allocations: 107.9 kB / 367 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.09773, allocations: 215.3 kB / 367.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005139/0.09825, allocations: 0.5172 MB / 367.8 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009574/0.09921, allocations: 1.16 MB / 368.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.09923, allocations: 0 / 368.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09924, allocations: 3.938 kB / 368.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.09927, allocations: 0 / 368.9 MB, free: 2.535 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.002758/0.102, allocations: 1.314 MB / 370.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1021, allocations: 8.031 kB / 370.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.1023, allocations: 107.8 kB / 370.4 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009009/0.1032, allocations: 0.5473 MB / 370.9 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.1035, allocations: 147 kB / 371 MB, free: 292 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.1036, allocations: 60.38 kB / 371.1 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1463/0.2499, allocations: 0.833 MB / 371.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.25, allocations: 1.188 kB / 371.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.25, allocations: 28.56 kB / 372 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.2501, allocations: 14.28 kB / 372 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.2513, allocations: 0.5586 MB / 372.5 MB, free: 20.04 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.003468/0.2547, allocations: 2.108 MB / 374.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.2564, allocations: 0.9668 MB / 375.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006234/0.257, allocations: 371.9 kB / 376 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.12e-05/0.2571, allocations: 13.89 kB / 376 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.2571, allocations: 50.73 kB / 376 MB, free: 18.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.344e-06/0.2571, allocations: 0 / 376 MB, free: 18.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004553/0.2617, allocations: 1.741 MB / 377.8 MB, free: 17.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.2618, allocations: 0.8222 MB / 378.6 MB, free: 16.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.2625, allocations: 0.6461 MB / 379.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.2626, allocations: 45.52 kB / 379.3 MB, free: 16.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.2628, allocations: 325.1 kB / 379.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.2629, allocations: 258.6 kB / 379.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.2631, allocations: 144 kB / 380 MB, free: 15.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.2632, allocations: 393.3 kB / 380.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.2637, allocations: 245.1 kB / 380.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.2644, allocations: 0.5252 MB / 381.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.2654, allocations: 0.6317 MB / 381.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.2655, allocations: 7.562 kB / 381.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002186/0.2677, allocations: 1.044 MB / 382.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.2677, allocations: 84.98 kB / 382.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2677, allocations: 1.188 kB / 382.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.2684, allocations: 237.3 kB / 383.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.2689, allocations: 127.3 kB / 383.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/0.2751, allocations: 6.936 MB / 390.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.2758, allocations: 97.7 kB / 390.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.2758, allocations: 27.83 kB / 390.3 MB, free: 7.301 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.0002523/0.2761, allocations: 216.4 kB / 390.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.2762, allocations: 85.47 kB / 390.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.2764, allocations: 95.3 kB / 390.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2764, allocations: 7.469 kB / 390.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2764, allocations: 4 kB / 390.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002016/0.2784, allocations: 1.182 MB / 391.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.2817, allocations: 1.869 MB / 393.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2817, allocations: 4.219 kB / 393.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.2823, allocations: 125.4 kB / 393.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.2828, allocations: 198.5 kB / 394.1 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.2828, allocations: 21.53 kB / 394.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004756/0.2876, allocations: 5.313 MB / 399.4 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2876, allocations: 8.047 kB / 399.5 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.2906, allocations: 1.322 MB / 400.8 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.291, allocations: 238.3 kB / 401 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.2911, allocations: 22.81 kB / 401 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.2917, allocations: 43.2 kB / 401.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.2919, allocations: 57.27 kB / 401.1 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.2919, allocations: 21.75 kB / 401.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005596/0.2925, allocations: 463.4 kB / 401.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2925, allocations: 0 / 401.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009293/0.2934, allocations: 278.1 kB / 401.9 MB, free: 14.86 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.0001628/0.2936, allocations: 124.1 kB / 402 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.296, allocations: 1.324 MB / 403.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.296, allocations: 3.156 kB / 403.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.297, allocations: 0.6991 MB / 404 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/0.298, allocations: 234.9 kB / 404.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.3007, allocations: 1.608 MB / 405.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.3012, allocations: 0.9414 MB / 406.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004087/0.3016, allocations: 105.5 kB / 406.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.3018, allocations: 70.67 kB / 407 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3018, allocations: 0 / 407 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.02729/0.3291, allocations: 17.9 MB / 424.9 MB, free: 9.914 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches