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.001599/0.001599, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001862/0.001862, allocations: 192 kB / 19.29 MB, free: 3.715 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.345/1.345, allocations: 205.1 MB / 225.2 MB, free: 12.3 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.001172/0.001172, allocations: 47.94 kB / 282.1 MB, free: 2.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08313, allocations: 46.63 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005701/0.08887, allocations: 4.94 MB / 333.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.09129, allocations: 1.321 MB / 335 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.09158, allocations: 11.94 kB / 335 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.09201, allocations: 170.6 kB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005446/0.09257, allocations: 317.2 kB / 335.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.09297, allocations: 223.6 kB / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.09402, allocations: 1.157 MB / 336.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.09446, allocations: 341.8 kB / 337.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.09483, allocations: 438.5 kB / 337.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.09531, allocations: 0.5018 MB / 338.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.09544, allocations: 104 kB / 338.2 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.09558, allocations: 104 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.09575, allocations: 215.3 kB / 338.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.09616, allocations: 0.5133 MB / 339 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008669/0.09703, allocations: 1.18 MB / 340.2 MB, free: 8.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09705, allocations: 0 / 340.2 MB, free: 8.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.09705, allocations: 0 / 340.2 MB, free: 8.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.09707, allocations: 0 / 340.2 MB, free: 8.211 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.002067/0.09915, allocations: 1.314 MB / 341.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.09919, allocations: 11.89 kB / 341.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.09936, allocations: 107.8 kB / 341.6 MB, free: 6.707 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.1001, allocations: 0.5513 MB / 342.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.1003, allocations: 147 kB / 342.3 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.1004, allocations: 56.38 kB / 342.4 MB, free: 5.902 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.1016, allocations: 0.8355 MB / 343.2 MB, free: 4.965 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1016, allocations: 4 kB / 343.2 MB, free: 4.961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.1017, allocations: 32 kB / 343.3 MB, free: 4.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.1017, allocations: 12 kB / 343.3 MB, free: 4.918 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1028, allocations: 0.5555 MB / 343.8 MB, free: 4.363 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.002986/0.1058, allocations: 2.104 MB / 345.9 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.1074, allocations: 0.9669 MB / 346.9 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.108, allocations: 370.4 kB / 347.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.1081, allocations: 20.64 kB / 347.3 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1081, allocations: 47.22 kB / 347.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.374e-06/0.1081, allocations: 1.641 kB / 347.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.00438/0.1125, allocations: 1.742 MB / 349.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002938/0.1128, allocations: 0.8195 MB / 349.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006838/0.1135, allocations: 0.6372 MB / 350.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.1136, allocations: 41.7 kB / 350.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.1138, allocations: 345 kB / 350.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.114, allocations: 244.3 kB / 351.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.1142, allocations: 150.6 kB / 351.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1144, allocations: 390.7 kB / 351.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.1149, allocations: 245.8 kB / 351.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/0.1156, allocations: 0.5273 MB / 352.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.1167, allocations: 0.6349 MB / 353.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1167, allocations: 0 / 353.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002214/0.1189, allocations: 1.048 MB / 354.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.119, allocations: 89.09 kB / 354.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.119, allocations: 7.938 kB / 354.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006455/0.1197, allocations: 235.3 kB / 354.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.1203, allocations: 131.8 kB / 354.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.1276, allocations: 6.927 MB / 361.5 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/0.1284, allocations: 91.38 kB / 361.6 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.1285, allocations: 23.98 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.0003072/0.1288, allocations: 213.8 kB / 361.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.1289, allocations: 90.97 kB / 361.9 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.1291, allocations: 87.34 kB / 362 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.1291, allocations: 11.94 kB / 362 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1291, allocations: 3.984 kB / 362 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002045/0.1312, allocations: 1.182 MB / 363.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/0.1346, allocations: 1.859 MB / 365.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1346, allocations: 0 / 365.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.1352, allocations: 127.8 kB / 365.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/0.1357, allocations: 202.5 kB / 365.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.1358, allocations: 20.17 kB / 365.4 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006162/0.142, allocations: 5.311 MB / 370.7 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.142, allocations: 3.938 kB / 370.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.1448, allocations: 1.316 MB / 372 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/0.1453, allocations: 239.8 kB / 372.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.1455, allocations: 20 kB / 372.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/0.1461, allocations: 43.97 kB / 372.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.1463, allocations: 56.58 kB / 372.4 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/0.1463, allocations: 23.98 kB / 372.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005225/0.1468, allocations: 455.1 kB / 372.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1469, allocations: 4 kB / 372.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007958/0.1477, allocations: 279.7 kB / 373.1 MB, free: 5.117 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.0001555/0.1478, allocations: 135 kB / 373.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.1498, allocations: 1.293 MB / 374.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1498, allocations: 0 / 374.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009188/0.1507, allocations: 0.699 MB / 375.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009299/0.1516, allocations: 232.2 kB / 375.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.1544, allocations: 1.591 MB / 377.1 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.1549, allocations: 0.9439 MB / 378 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.1294/0.2843, allocations: 98.12 kB / 378.1 MB, free: 52.06 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.2846, allocations: 66.84 kB / 378.2 MB, free: 52.05 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2846, allocations: 0 / 378.2 MB, free: 52.05 MB / 318.1 MB Notification: Performance of Templates: time 0.02944/0.3141, allocations: 17.92 MB / 396.1 MB, free: 45.41 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 gbode -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