Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 100.2 kB / 17.58 MB, free: 5.547 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.001278/0.001278, allocations: 192 kB / 18.51 MB, free: 4.625 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.398/1.398, allocations: 205.1 MB / 224.4 MB, free: 12.35 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.001547/0.001548, allocations: 55.92 kB / 280.7 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09625, allocations: 46.62 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007857/0.1041, allocations: 5.606 MB / 332.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003502/0.1077, allocations: 1.457 MB / 334.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1087, allocations: 11.94 kB / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007695/0.1096, allocations: 202.3 kB / 334.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1108, allocations: 384.7 kB / 334.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.1115, allocations: 255.6 kB / 335.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.113, allocations: 1.359 MB / 336.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/0.1136, allocations: 415.1 kB / 336.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.1142, allocations: 0.5099 MB / 337.4 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005732/0.1147, allocations: 0.5796 MB / 338 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.1149, allocations: 120 kB / 338.1 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1151, allocations: 120 kB / 338.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.1153, allocations: 255.1 kB / 338.5 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.1158, allocations: 0.6105 MB / 339.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.1169, allocations: 1.382 MB / 340.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1169, allocations: 0 / 340.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.117, allocations: 0 / 340.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.117, allocations: 0 / 340.5 MB, free: 7.152 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002293/0.1193, allocations: 1.485 MB / 342 MB, free: 5.594 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1193, allocations: 8.031 kB / 342 MB, free: 5.586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.1195, allocations: 131.5 kB / 342.1 MB, free: 5.457 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008011/0.1203, allocations: 0.6226 MB / 342.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.1205, allocations: 159.6 kB / 342.9 MB, free: 4.621 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.1206, allocations: 68.38 kB / 343 MB, free: 4.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.1221, allocations: 0.9708 MB / 343.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1221, allocations: 0 / 343.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.1222, allocations: 36 kB / 344 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.1222, allocations: 16 kB / 344 MB, free: 3.414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1235, allocations: 0.6168 MB / 344.6 MB, free: 2.801 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.004053/0.1275, allocations: 2.651 MB / 347.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.13, allocations: 0.867 MB / 348.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/0.1306, allocations: 350.7 kB / 348.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.1307, allocations: 16.62 kB / 348.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1308, allocations: 51.22 kB / 348.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.1308, allocations: 4 kB / 348.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00257/0.1333, allocations: 1.401 MB / 349.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004865/0.1338, allocations: 0.9566 MB / 350.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.1349, allocations: 0.7825 MB / 351.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.78e-05/0.135, allocations: 49.64 kB / 351.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.1353, allocations: 412.5 kB / 352.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.1356, allocations: 252.3 kB / 352.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.1359, allocations: 154.7 kB / 352.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1361, allocations: 330 kB / 352.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.1367, allocations: 253.9 kB / 353.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/0.1376, allocations: 0.588 MB / 353.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.1389, allocations: 0.6716 MB / 354.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1389, allocations: 1.859 kB / 354.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001789/0.1407, allocations: 0.9508 MB / 355.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.098e-05/0.1408, allocations: 89.09 kB / 355.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1408, allocations: 0 / 355.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.1412, allocations: 128.2 kB / 355.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006756/0.1419, allocations: 147.8 kB / 355.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/0.1476, allocations: 7.337 MB / 363 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008997/0.1485, allocations: 107.1 kB / 363.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.1486, allocations: 24 kB / 363.1 MB, free: 14.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004264/0.149, allocations: 245.7 kB / 363.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.1492, allocations: 98.88 kB / 363.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.1494, allocations: 100.9 kB / 363.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.1494, allocations: 8 kB / 363.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.1494, allocations: 0 / 363.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/0.1507, allocations: 0.9738 MB / 364.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.1534, allocations: 1.746 MB / 366.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1534, allocations: 0 / 366.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.1541, allocations: 159.8 kB / 366.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.1542, allocations: 24.84 kB / 366.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.1543, allocations: 16 kB / 366.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009187/0.1552, allocations: 1.403 MB / 367.9 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1552, allocations: 0 / 367.9 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.1571, allocations: 1.076 MB / 369 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.1575, allocations: 263.7 kB / 369.2 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.1576, allocations: 20 kB / 369.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.1583, allocations: 35.97 kB / 369.3 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.1584, allocations: 44.59 kB / 369.3 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.1584, allocations: 20 kB / 369.3 MB, free: 8.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006508/0.1591, allocations: 0.5498 MB / 369.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1591, allocations: 4 kB / 369.9 MB, free: 7.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007273/0.1598, allocations: 287.7 kB / 370.2 MB, free: 7.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.16, allocations: 127.1 kB / 370.3 MB, free: 7.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.1624, allocations: 1.432 MB / 371.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.1624, allocations: 4 kB / 371.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006484/0.163, allocations: 418.5 kB / 372.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.1642, allocations: 279 kB / 372.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.1673, allocations: 1.695 MB / 374.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.1679, allocations: 0.9797 MB / 375.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.1685, allocations: 127.5 kB / 375.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.1687, allocations: 79.42 kB / 375.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1687, allocations: 0 / 375.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of Templates: time 0.1828/0.3514, allocations: 17.64 MB / 392.9 MB, free: 47.27 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches