Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001516/0.001516, allocations: 107.3 kB / 18.35 MB, free: 4.77 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.001806/0.001806, allocations: 188.1 kB / 19.29 MB, free: 3.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 51.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.08202, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005902/0.08796, allocations: 4.933 MB / 333.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.08989, allocations: 1.317 MB / 335 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.09012, allocations: 8 kB / 335 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.0905, allocations: 170.5 kB / 335.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.09101, allocations: 317.2 kB / 335.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.0914, allocations: 223.6 kB / 335.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.09243, allocations: 1.16 MB / 336.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.09286, allocations: 341.8 kB / 337.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.09328, allocations: 438.5 kB / 337.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.0938, allocations: 0.5057 MB / 338.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.09393, allocations: 104 kB / 338.2 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.09408, allocations: 104 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.09428, allocations: 211.3 kB / 338.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.09471, allocations: 0.5133 MB / 339 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009158/0.09563, allocations: 1.18 MB / 340.2 MB, free: 8.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.09565, allocations: 4 kB / 340.2 MB, free: 8.207 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09565, allocations: 0 / 340.2 MB, free: 8.207 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.09567, allocations: 0 / 340.2 MB, free: 8.207 MB / 286.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.002119/0.0978, allocations: 1.31 MB / 341.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.09784, allocations: 15.88 kB / 341.5 MB, free: 6.809 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.09801, allocations: 111.8 kB / 341.7 MB, free: 6.699 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/0.09877, allocations: 0.5435 MB / 342.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.09897, allocations: 143 kB / 342.3 MB, free: 5.961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.239e-05/0.09907, allocations: 60.38 kB / 342.4 MB, free: 5.902 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.1003, allocations: 0.8393 MB / 343.2 MB, free: 4.961 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1003, allocations: 0 / 343.2 MB, free: 4.961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.1004, allocations: 39.98 kB / 343.3 MB, free: 4.922 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1004, allocations: 12 kB / 343.3 MB, free: 4.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1016, allocations: 0.5555 MB / 343.8 MB, free: 4.355 MB / 286.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.003127/0.1047, allocations: 2.1 MB / 345.9 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.1064, allocations: 0.9591 MB / 346.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006733/0.107, allocations: 378.4 kB / 347.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.1071, allocations: 12.66 kB / 347.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.1072, allocations: 51.22 kB / 347.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.864e-06/0.1072, allocations: 1.641 kB / 347.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004548/0.1117, allocations: 1.738 MB / 349.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000317/0.1121, allocations: 0.8234 MB / 349.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006932/0.1128, allocations: 0.6333 MB / 350.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.1128, allocations: 41.7 kB / 350.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.1131, allocations: 341.1 kB / 350.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.1133, allocations: 244.3 kB / 351.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.1135, allocations: 154.6 kB / 351.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1137, allocations: 394.6 kB / 351.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.1142, allocations: 241.9 kB / 351.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/0.115, allocations: 0.5274 MB / 352.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.1161, allocations: 0.6388 MB / 353.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1161, allocations: 0 / 353.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00227/0.1184, allocations: 1.044 MB / 354.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.1184, allocations: 85.11 kB / 354.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1185, allocations: 11.88 kB / 354.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006646/0.1191, allocations: 243.2 kB / 354.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.1197, allocations: 123.9 kB / 354.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/0.127, allocations: 6.931 MB / 361.5 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/0.1278, allocations: 91.38 kB / 361.6 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.1279, allocations: 24 kB / 361.6 MB, free: 1.305 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.0003017/0.1282, allocations: 217.7 kB / 361.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.1283, allocations: 90.97 kB / 361.9 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.1285, allocations: 87.33 kB / 362 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1285, allocations: 11.94 kB / 362 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1285, allocations: 0 / 362 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002076/0.1306, allocations: 1.178 MB / 363.2 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.1339, allocations: 1.867 MB / 365.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1339, allocations: 0 / 365.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.1346, allocations: 127.8 kB / 365.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/0.1351, allocations: 206.5 kB / 365.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.1351, allocations: 12 kB / 365.4 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005687/0.1408, allocations: 5.311 MB / 370.7 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1409, allocations: 3.938 kB / 370.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.1435, allocations: 1.305 MB / 372 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.1439, allocations: 243.9 kB / 372.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.144, allocations: 20.19 kB / 372.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.1446, allocations: 47.97 kB / 372.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.1447, allocations: 60.69 kB / 372.4 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.1448, allocations: 24 kB / 372.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005124/0.1453, allocations: 459 kB / 372.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1453, allocations: 3.938 kB / 372.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007851/0.1461, allocations: 279.7 kB / 373.1 MB, free: 5.113 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.0001529/0.1463, allocations: 135.1 kB / 373.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.1481, allocations: 1.297 MB / 374.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1481, allocations: 0 / 374.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.149, allocations: 0.6952 MB / 375.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/0.1499, allocations: 218.8 kB / 375.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.1525, allocations: 1.604 MB / 377.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1529, allocations: 0.9439 MB / 378 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.1245/0.2774, allocations: 97.05 kB / 378.1 MB, free: 52.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.2776, allocations: 67.17 kB / 378.2 MB, free: 52.07 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2776, allocations: 0 / 378.2 MB, free: 52.07 MB / 318.1 MB Notification: Performance of Templates: time 0.02643/0.304, allocations: 17.92 MB / 396.1 MB, free: 45.43 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches