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.0009893/0.0009893, allocations: 94.16 kB / 16.95 MB, free: 6.441 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.001106/0.001106, allocations: 181.2 kB / 17.84 MB, free: 6.008 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.673/1.673, allocations: 205.4 MB / 224 MB, free: 13.06 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.0004493/0.0004494, allocations: 8 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1115, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004781/0.1163, allocations: 4.293 MB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1189, allocations: 1.213 MB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.1193, allocations: 8 kB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.1197, allocations: 111.1 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008675/0.1206, allocations: 277.7 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.121, allocations: 167.8 kB / 334.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.1221, allocations: 1.028 MB / 335.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.1226, allocations: 284.3 kB / 335.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.1231, allocations: 382.7 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.1236, allocations: 450.2 kB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1237, allocations: 64 kB / 336.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1238, allocations: 64 kB / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.124, allocations: 187.3 kB / 336.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.1242, allocations: 201.3 kB / 337 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007888/0.125, allocations: 0.8569 MB / 337.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.125, allocations: 4 kB / 337.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.125, allocations: 0 / 337.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1251, allocations: 0 / 337.9 MB, free: 10.45 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.001921/0.127, allocations: 1.169 MB / 339.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.127, allocations: 16.02 kB / 339.1 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1272, allocations: 106.8 kB / 339.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.1279, allocations: 0.5193 MB / 339.7 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.1282, allocations: 150.4 kB / 339.9 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/0.1283, allocations: 63.89 kB / 339.9 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.1296, allocations: 0.8432 MB / 340.8 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1297, allocations: 0 / 340.8 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.1297, allocations: 28 kB / 340.8 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.1298, allocations: 12 kB / 340.8 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.1309, allocations: 0.5751 MB / 341.4 MB, free: 6.742 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.003293/0.1342, allocations: 2.131 MB / 343.5 MB, free: 4.512 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.1359, allocations: 1.003 MB / 344.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.1366, allocations: 379 kB / 344.9 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-05/0.1366, allocations: 20.58 kB / 344.9 MB, free: 3.051 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.1367, allocations: 47.22 kB / 344.9 MB, free: 2.996 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.966e-06/0.1367, allocations: 0 / 344.9 MB, free: 2.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004685/0.1414, allocations: 1.875 MB / 346.8 MB, free: 1.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003755/0.1418, allocations: 0.8272 MB / 347.6 MB, free: 4 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.1426, allocations: 0.6332 MB / 348.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.867e-05/0.1427, allocations: 49.69 kB / 348.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.1429, allocations: 333.3 kB / 348.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.1432, allocations: 252.2 kB / 348.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1432, allocations: 19.94 kB / 348.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.1435, allocations: 386.8 kB / 349.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.1441, allocations: 257.9 kB / 349.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.1448, allocations: 0.5273 MB / 350.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.1455, allocations: 392 kB / 350.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1455, allocations: 4 kB / 350.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002421/0.1479, allocations: 1.102 MB / 351.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-05/0.148, allocations: 85.11 kB / 351.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.148, allocations: 0 / 351.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007344/0.1488, allocations: 259.2 kB / 351.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.1494, allocations: 119.9 kB / 352 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007892/0.1573, allocations: 6.507 MB / 358.5 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.1584, allocations: 107.3 kB / 358.6 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.1585, allocations: 28 kB / 358.7 MB, free: 4.238 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005453/0.1591, allocations: 217.7 kB / 358.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.1593, allocations: 91.02 kB / 359 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.1596, allocations: 91.33 kB / 359 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1596, allocations: 8 kB / 359.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.1596, allocations: 0 / 359.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002204/0.1618, allocations: 1.253 MB / 360.3 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.1656, allocations: 1.934 MB / 362.2 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.1656, allocations: 0 / 362.2 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.1662, allocations: 127.8 kB / 362.4 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005361/0.1668, allocations: 218.6 kB / 362.6 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.1668, allocations: 12 kB / 362.6 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005697/0.1725, allocations: 4.989 MB / 367.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1726, allocations: 0 / 367.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.1755, allocations: 1.389 MB / 369 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.176, allocations: 235.9 kB / 369.2 MB, free: 9.027 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.1762, allocations: 27.95 kB / 369.2 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.1768, allocations: 43.95 kB / 369.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.177, allocations: 64.52 kB / 369.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.1771, allocations: 19.98 kB / 369.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005858/0.1777, allocations: 451.1 kB / 369.8 MB, free: 8.441 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1777, allocations: 4 kB / 369.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009851/0.1787, allocations: 283.7 kB / 370.1 MB, free: 8.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001816/0.1789, allocations: 123.2 kB / 370.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002206/0.1811, allocations: 1.305 MB / 371.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.1811, allocations: 4 kB / 371.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.1821, allocations: 0.6952 MB / 372.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.1833, allocations: 226.8 kB / 372.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.1866, allocations: 1.91 MB / 374.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.1872, allocations: 0.9362 MB / 375.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005301/0.1878, allocations: 110.4 kB / 375.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.188, allocations: 63.44 kB / 375.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of SimCode: time 1.062e-06/0.188, allocations: 0 / 375.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of Templates: time 0.2033/0.3913, allocations: 15.9 MB / 391.3 MB, free: 47.27 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