Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 115.6 kB / 18.44 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 202.8 kB / 19.39 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 227.7 MB / 247.9 MB, free: 10.22 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 359.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2348, allocations: 50.54 MB / 410.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006112/0.2409, allocations: 4.966 MB / 415.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.2434, allocations: 1.324 MB / 416.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.2437, allocations: 15.94 kB / 416.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.2441, allocations: 166.5 kB / 416.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.2447, allocations: 321.3 kB / 417 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.2452, allocations: 227.6 kB / 417.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.2464, allocations: 1.163 MB / 418.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.2467, allocations: 226.1 kB / 418.6 MB, free: 9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004423/0.2472, allocations: 446.5 kB / 419 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.2477, allocations: 0.498 MB / 419.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.2479, allocations: 104 kB / 419.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.248, allocations: 104 kB / 419.7 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.2482, allocations: 219.2 kB / 419.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.2487, allocations: 0.5134 MB / 420.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.2499, allocations: 1.183 MB / 421.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2499, allocations: 4 kB / 421.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2499, allocations: 0 / 421.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.2499, allocations: 0 / 421.6 MB, free: 5.941 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.002334/0.2522, allocations: 1.34 MB / 423 MB, free: 4.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2523, allocations: 12.03 kB / 423 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.2525, allocations: 108.3 kB / 423.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009046/0.2534, allocations: 0.5557 MB / 423.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.2536, allocations: 139 kB / 423.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.2537, allocations: 60.38 kB / 423.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.2551, allocations: 0.8471 MB / 424.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.2551, allocations: 4 kB / 424.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.2552, allocations: 28 kB / 424.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2552, allocations: 12 kB / 424.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.2564, allocations: 0.5594 MB / 425.3 MB, free: 2.051 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.003486/0.2598, allocations: 2.101 MB / 427.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.2617, allocations: 0.9139 MB / 428.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/0.2624, allocations: 338.7 kB / 428.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.2624, allocations: 12.64 kB / 428.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.2625, allocations: 51.22 kB / 428.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.454e-06/0.2625, allocations: 0 / 428.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00495/0.2674, allocations: 1.734 MB / 430.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004476/0.2679, allocations: 0.8273 MB / 431.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/0.2687, allocations: 0.6294 MB / 431.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-05/0.2688, allocations: 45.7 kB / 431.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.2691, allocations: 345.3 kB / 432.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.2694, allocations: 257.7 kB / 432.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.2696, allocations: 150.6 kB / 432.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.2698, allocations: 386.7 kB / 433 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.2704, allocations: 249.9 kB / 433.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008545/0.2712, allocations: 0.5312 MB / 433.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.2724, allocations: 0.6387 MB / 434.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2724, allocations: 4 kB / 434.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002469/0.2749, allocations: 1.04 MB / 435.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/0.275, allocations: 89.09 kB / 435.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.275, allocations: 0 / 435.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007188/0.2757, allocations: 231.3 kB / 435.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.2763, allocations: 131.8 kB / 435.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008459/0.2847, allocations: 6.932 MB / 442.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/0.2856, allocations: 95.52 kB / 443 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.2857, allocations: 27.92 kB / 443 MB, free: 15.08 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.0003961/0.2861, allocations: 213.8 kB / 443.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.2862, allocations: 95.42 kB / 443.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.2864, allocations: 91.34 kB / 443.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.2864, allocations: 15.92 kB / 443.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2864, allocations: 192 / 443.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002285/0.2887, allocations: 1.167 MB / 444.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/0.2924, allocations: 1.867 MB / 446.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2924, allocations: 4.062 kB / 446.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006078/0.293, allocations: 123.9 kB / 446.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.2935, allocations: 202.5 kB / 446.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.2936, allocations: 15.98 kB / 446.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006434/0.3, allocations: 5.323 MB / 452.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3, allocations: 3.938 kB / 452.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/0.303, allocations: 1.32 MB / 453.4 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.3034, allocations: 236.4 kB / 453.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3035, allocations: 20 kB / 453.7 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/0.3041, allocations: 39.97 kB / 453.7 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.3042, allocations: 60.58 kB / 453.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.3043, allocations: 27.92 kB / 453.8 MB, free: 3.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005749/0.3048, allocations: 455.1 kB / 454.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 454.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008466/0.3057, allocations: 283.7 kB / 454.5 MB, free: 2.879 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.0001732/0.3059, allocations: 131.1 kB / 454.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.3078, allocations: 1.254 MB / 455.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3078, allocations: 4.125 kB / 455.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00097/0.3088, allocations: 0.6753 MB / 456.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000944/0.3097, allocations: 231.1 kB / 456.8 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.3125, allocations: 1.617 MB / 458.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.3131, allocations: 0.9323 MB / 459.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003645/0.3135, allocations: 106.4 kB / 459.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3136, allocations: 59.44 kB / 459.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3136, allocations: 0 / 459.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of Templates: time 0.03031/0.3439, allocations: 18.21 MB / 477.7 MB, free: 11.73 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches