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.001511/0.001511, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001711/0.001711, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.158/2.158, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3795, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.008414/0.3879, allocations: 4.944 MB / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.3913, allocations: 1.32 MB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007911/0.3921, allocations: 15.94 kB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.3929, allocations: 158.6 kB / 416.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.3941, allocations: 317.2 kB / 416.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007585/0.3949, allocations: 235.6 kB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.397, allocations: 1.153 MB / 418.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007726/0.3978, allocations: 333.7 kB / 418.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008788/0.3987, allocations: 450.5 kB / 418.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.3998, allocations: 0.498 MB / 419.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002982/0.4002, allocations: 100 kB / 419.4 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.4005, allocations: 104 kB / 419.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.4008, allocations: 215.3 kB / 419.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.4019, allocations: 0.5133 MB / 420.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.4038, allocations: 1.181 MB / 421.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4039, allocations: 0 / 421.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4039, allocations: 0 / 421.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.668e-05/0.4039, allocations: 0 / 421.4 MB, free: 6.035 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.004108/0.408, allocations: 1.313 MB / 422.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.4081, allocations: 12.03 kB / 422.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.4085, allocations: 111.8 kB / 422.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.4099, allocations: 0.5473 MB / 423.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.4103, allocations: 147 kB / 423.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.4105, allocations: 56.38 kB / 423.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.4128, allocations: 0.8433 MB / 424.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.4129, allocations: 0 / 424.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.413, allocations: 28 kB / 424.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.4131, allocations: 16 kB / 424.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.4153, allocations: 0.5595 MB / 425 MB, free: 2.176 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.005456/0.4208, allocations: 2.096 MB / 427.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.4239, allocations: 0.9553 MB / 428.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.4251, allocations: 374.7 kB / 428.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.4253, allocations: 24.7 kB / 428.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.4254, allocations: 43.22 kB / 428.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.829e-06/0.4254, allocations: 0 / 428.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.008274/0.4337, allocations: 1.734 MB / 430.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004636/0.4342, allocations: 0.8234 MB / 431.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.4355, allocations: 0.6449 MB / 431.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.4357, allocations: 45.7 kB / 431.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.4362, allocations: 321.1 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/0.4365, allocations: 260.3 kB / 432.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.437, allocations: 146.7 kB / 432.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002536/0.4372, allocations: 394.6 kB / 432.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.4383, allocations: 241.9 kB / 433.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.4398, allocations: 0.5312 MB / 433.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.442, allocations: 0.631 MB / 434.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.442, allocations: 0 / 434.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004432/0.4465, allocations: 1.055 MB / 435.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/0.4466, allocations: 89.11 kB / 435.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4466, allocations: 0 / 435.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.4479, allocations: 239.2 kB / 435.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.449, allocations: 131.8 kB / 435.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/0.4622, allocations: 6.924 MB / 442.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.4638, allocations: 95.28 kB / 442.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.4639, allocations: 24 kB / 442.8 MB, free: 15.14 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.0005467/0.4645, allocations: 217.7 kB / 443 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.4648, allocations: 87.06 kB / 443.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.4651, allocations: 87.34 kB / 443.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.4651, allocations: 15.94 kB / 443.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4651, allocations: 0 / 443.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003976/0.4691, allocations: 1.182 MB / 444.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006562/0.4757, allocations: 1.859 MB / 446.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4757, allocations: 4.188 kB / 446.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.477, allocations: 131.9 kB / 446.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.4781, allocations: 198.4 kB / 446.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.691e-05/0.4782, allocations: 16 kB / 446.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.4885, allocations: 5.315 MB / 451.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.4886, allocations: 8 kB / 451.9 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/0.4937, allocations: 1.312 MB / 453.2 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000719/0.4945, allocations: 239.9 kB / 453.5 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.4947, allocations: 23.94 kB / 453.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.4958, allocations: 40.14 kB / 453.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.4961, allocations: 60.58 kB / 453.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.4962, allocations: 27.94 kB / 453.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009094/0.4971, allocations: 459 kB / 454.1 MB, free: 3.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.4971, allocations: 0 / 454.1 MB, free: 3.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001567/0.4987, allocations: 287.6 kB / 454.3 MB, free: 2.934 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.0002561/0.499, allocations: 123.1 kB / 454.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003158/0.5022, allocations: 1.301 MB / 455.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.5022, allocations: 0 / 455.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.5039, allocations: 0.6951 MB / 456.5 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.001805/0.5058, allocations: 222.8 kB / 456.7 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.5108, allocations: 1.643 MB / 458.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.5116, allocations: 0.9323 MB / 459.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.512, allocations: 75.42 kB / 459.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.001e-06/0.512, allocations: 0 / 459.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.03535/0.5474, allocations: 22.18 MB / 481.5 MB, free: 7.641 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