Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001083, allocations: 113.5 kB / 17.7 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 50.92 kB / 302.1 MB, free: 5.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08847, allocations: 49.44 MB / 351.5 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005464/0.09396, allocations: 4.944 MB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.096, allocations: 1.273 MB / 357.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.09626, allocations: 8 kB / 357.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.09667, allocations: 162.5 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005427/0.09725, allocations: 321.2 kB / 358.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.09765, allocations: 231.6 kB / 358.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.09867, allocations: 1.153 MB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.0991, allocations: 337.9 kB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000378/0.09949, allocations: 442.4 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.1, allocations: 0.5019 MB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.1001, allocations: 100 kB / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1003, allocations: 104 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.1005, allocations: 223.2 kB / 361.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.1009, allocations: 0.5094 MB / 361.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009334/0.1019, allocations: 1.18 MB / 362.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1019, allocations: 0 / 362.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1019, allocations: 3.938 kB / 362.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.1019, allocations: 0 / 362.9 MB, free: 8.219 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.002134/0.1041, allocations: 1.317 MB / 364.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1041, allocations: 11.89 kB / 364.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.1043, allocations: 111.8 kB / 364.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.1051, allocations: 0.5435 MB / 364.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.1053, allocations: 143 kB / 365.1 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.235e-05/0.1054, allocations: 60.38 kB / 365.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1066, allocations: 0.8476 MB / 366 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1066, allocations: 3.984 kB / 366 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.1067, allocations: 32 kB / 366 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1067, allocations: 16 kB / 366 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.1079, allocations: 0.5517 MB / 366.6 MB, free: 4.359 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.003142/0.111, allocations: 2.096 MB / 368.7 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.1128, allocations: 0.9635 MB / 369.6 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.1134, allocations: 367.3 kB / 370 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.254e-05/0.1135, allocations: 16.59 kB / 370 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1135, allocations: 55.14 kB / 370.1 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.1136, allocations: 0 / 370.1 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1455/0.259, allocations: 1.739 MB / 371.8 MB, free: 25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.2592, allocations: 0.8214 MB / 372.6 MB, free: 24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008063/0.26, allocations: 0.6404 MB / 373.3 MB, free: 23.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.2601, allocations: 42.48 kB / 373.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.2603, allocations: 334.1 kB / 373.6 MB, free: 23.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.2605, allocations: 253.8 kB / 373.9 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.2607, allocations: 145.5 kB / 374 MB, free: 23.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.2608, allocations: 384.3 kB / 374.4 MB, free: 23.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.2613, allocations: 246.2 kB / 374.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007024/0.262, allocations: 0.5312 MB / 375.2 MB, free: 22.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.263, allocations: 0.6333 MB / 375.8 MB, free: 22.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.263, allocations: 0 / 375.8 MB, free: 22.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002162/0.2652, allocations: 1.054 MB / 376.9 MB, free: 22.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.2652, allocations: 86.19 kB / 376.9 MB, free: 21.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2653, allocations: 0 / 376.9 MB, free: 21.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006251/0.2659, allocations: 233.2 kB / 377.2 MB, free: 21.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.2665, allocations: 133.2 kB / 377.3 MB, free: 21.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/0.2724, allocations: 6.918 MB / 384.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/0.2731, allocations: 93.77 kB / 384.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.2732, allocations: 22.61 kB / 384.3 MB, free: 15.51 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.000263/0.2735, allocations: 220 kB / 384.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.2736, allocations: 93.55 kB / 384.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.2738, allocations: 91.31 kB / 384.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2738, allocations: 7.719 kB / 384.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.2738, allocations: 1.547 kB / 384.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/0.2757, allocations: 1.183 MB / 385.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.2789, allocations: 1.868 MB / 387.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2789, allocations: 7.531 kB / 387.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/0.2795, allocations: 124.7 kB / 387.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004924/0.28, allocations: 198 kB / 388.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/0.2801, allocations: 18.25 kB / 388.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004672/0.2848, allocations: 5.312 MB / 393.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2848, allocations: 5.344 kB / 393.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.2874, allocations: 1.321 MB / 394.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.2877, allocations: 231.4 kB / 395 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2878, allocations: 20.38 kB / 395 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.2884, allocations: 43.16 kB / 395.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.2886, allocations: 62.84 kB / 395.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.2886, allocations: 20.23 kB / 395.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004862/0.2891, allocations: 459.8 kB / 395.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2891, allocations: 0 / 395.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007968/0.2899, allocations: 283.1 kB / 395.9 MB, free: 7.578 MB / 302.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.0001265/0.29, allocations: 125.2 kB / 396 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.2916, allocations: 1.29 MB / 397.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.2917, allocations: 6.344 kB / 397.3 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.2924, allocations: 0.6967 MB / 398 MB, free: 6.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008609/0.2933, allocations: 233.1 kB / 398.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.2957, allocations: 1.592 MB / 399.8 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.2961, allocations: 0.9345 MB / 400.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000384/0.2965, allocations: 107.5 kB / 400.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.2966, allocations: 68.67 kB / 400.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2966, allocations: 0 / 400.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of Templates: time 0.02449/0.3211, allocations: 17.92 MB / 418.8 MB, free: 4.496 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches