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.001127/0.001127, allocations: 108.8 kB / 17.28 MB, free: 6.176 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.001171/0.001172, allocations: 189.3 kB / 18.2 MB, free: 5.254 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.528/1.528, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001104/0.001103, allocations: 55.92 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1055, allocations: 46.63 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005757/0.1113, allocations: 4.944 MB / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1136, allocations: 1.325 MB / 333 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.1141, allocations: 8 kB / 333.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.1145, allocations: 131.1 kB / 333.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005908/0.1151, allocations: 277.8 kB / 333.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.1155, allocations: 195.8 kB / 333.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1166, allocations: 1.149 MB / 334.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.117, allocations: 333.9 kB / 335.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.1174, allocations: 450.4 kB / 335.6 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.1179, allocations: 0.4902 MB / 336.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.1181, allocations: 100 kB / 336.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1182, allocations: 108 kB / 336.3 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1184, allocations: 227.2 kB / 336.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.1188, allocations: 0.5133 MB / 337 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009504/0.1198, allocations: 1.16 MB / 338.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1198, allocations: 0 / 338.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1198, allocations: 0 / 338.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1198, allocations: 0 / 338.1 MB, free: 9.355 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.002078/0.1219, allocations: 1.321 MB / 339.5 MB, free: 7.961 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1219, allocations: 11.89 kB / 339.5 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.1221, allocations: 107.8 kB / 339.6 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.1228, allocations: 0.5396 MB / 340.1 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.1229, allocations: 143 kB / 340.3 MB, free: 7.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.123, allocations: 60.38 kB / 340.3 MB, free: 7.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.1243, allocations: 0.8433 MB / 341.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1244, allocations: 0 / 341.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.1244, allocations: 28 kB / 341.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1244, allocations: 16 kB / 341.2 MB, free: 6.059 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1256, allocations: 0.5595 MB / 341.8 MB, free: 5.5 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.003288/0.1289, allocations: 2.112 MB / 343.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.1308, allocations: 0.9629 MB / 344.8 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/0.1315, allocations: 374.4 kB / 345.2 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.028e-05/0.1316, allocations: 12.72 kB / 345.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.1316, allocations: 51.22 kB / 345.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.854e-06/0.1316, allocations: 0 / 345.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004648/0.1363, allocations: 1.742 MB / 347 MB, free: 15.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003308/0.1366, allocations: 0.8195 MB / 347.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.1374, allocations: 0.6372 MB / 348.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/0.1375, allocations: 45.7 kB / 348.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.1378, allocations: 334.7 kB / 348.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.138, allocations: 248.3 kB / 349.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.1382, allocations: 158.5 kB / 349.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1384, allocations: 390.7 kB / 349.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.1389, allocations: 241.9 kB / 349.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/0.1396, allocations: 0.5273 MB / 350.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.1407, allocations: 0.6388 MB / 351 MB, free: 11.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1407, allocations: 0 / 351 MB, free: 11.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002257/0.1429, allocations: 1.048 MB / 352.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/0.143, allocations: 89.09 kB / 352.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.143, allocations: 4 kB / 352.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/0.1436, allocations: 231.3 kB / 352.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.1442, allocations: 127.8 kB / 352.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007588/0.1518, allocations: 6.931 MB / 359.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/0.1528, allocations: 99.36 kB / 359.5 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.1529, allocations: 23.94 kB / 359.6 MB, free: 2.438 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.0003656/0.1532, allocations: 217.7 kB / 359.8 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.1534, allocations: 86.97 kB / 359.9 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.1536, allocations: 99.33 kB / 360 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1536, allocations: 11.94 kB / 360 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.1536, allocations: 192 / 360 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00221/0.1558, allocations: 1.175 MB / 361.1 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.1594, allocations: 1.875 MB / 363 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1594, allocations: 0 / 363 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.16, allocations: 123.9 kB / 363.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.1605, allocations: 206.7 kB / 363.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.1605, allocations: 19.98 kB / 363.4 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005577/0.1661, allocations: 5.307 MB / 368.7 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.1661, allocations: 7.875 kB / 368.7 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.169, allocations: 1.311 MB / 370 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/0.1695, allocations: 239.9 kB / 370.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.1696, allocations: 16 kB / 370.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.1702, allocations: 47.97 kB / 370.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.1704, allocations: 60.58 kB / 370.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.1704, allocations: 19.98 kB / 370.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005402/0.171, allocations: 459 kB / 370.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 370.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000881/0.1719, allocations: 287.6 kB / 371.1 MB, free: 6.23 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.0001811/0.1721, allocations: 123.1 kB / 371.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.1741, allocations: 1.32 MB / 372.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.1742, allocations: 4 kB / 372.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009612/0.1751, allocations: 0.7027 MB / 373.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.1762, allocations: 231.3 kB / 373.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.1793, allocations: 1.857 MB / 375.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.1798, allocations: 0.9401 MB / 376.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004261/0.1803, allocations: 110.3 kB / 376.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.1804, allocations: 67.44 kB / 376.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1804, allocations: 0 / 376.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of Templates: time 0.1887/0.3692, allocations: 17.67 MB / 394.1 MB, free: 46.4 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches