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.001104/0.001104, allocations: 94.44 kB / 16.95 MB, free: 5.922 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.001267/0.001267, allocations: 182.5 kB / 17.84 MB, free: 5.609 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.709/1.709, allocations: 205.4 MB / 224 MB, free: 13.16 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.0006963/0.0006966, allocations: 12 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1086, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005166/0.1137, allocations: 4.893 MB / 333.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.1162, allocations: 1.353 MB / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/0.1166, allocations: 12 kB / 334.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.1169, allocations: 127 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007415/0.1177, allocations: 337.3 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.1182, allocations: 199.7 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.1194, allocations: 1.191 MB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.1199, allocations: 331.1 kB / 336.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005076/0.1204, allocations: 458.4 kB / 337.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005956/0.1211, allocations: 0.5135 MB / 337.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.1212, allocations: 76 kB / 337.8 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1214, allocations: 84 kB / 337.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.1215, allocations: 211.2 kB / 338.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.1217, allocations: 233.2 kB / 338.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.1225, allocations: 1.02 MB / 339.3 MB, free: 9.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1226, allocations: 0 / 339.3 MB, free: 9.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1226, allocations: 0 / 339.3 MB, free: 9.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.1226, allocations: 0 / 339.3 MB, free: 9.027 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.002206/0.1248, allocations: 1.31 MB / 340.7 MB, free: 7.648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1248, allocations: 12.03 kB / 340.7 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.1251, allocations: 126.6 kB / 340.8 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/0.126, allocations: 0.6024 MB / 341.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.1262, allocations: 159.1 kB / 341.5 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1263, allocations: 75.92 kB / 341.6 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.1278, allocations: 0.9589 MB / 342.6 MB, free: 5.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.1278, allocations: 7.984 kB / 342.6 MB, free: 5.535 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.1279, allocations: 36 kB / 342.6 MB, free: 5.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1279, allocations: 16 kB / 342.6 MB, free: 5.484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1291, allocations: 0.6441 MB / 343.3 MB, free: 4.84 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.004019/0.1331, allocations: 2.644 MB / 345.9 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.1354, allocations: 0.8764 MB / 346.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/0.1361, allocations: 370.3 kB / 347.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-05/0.1362, allocations: 12.66 kB / 347.2 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.1362, allocations: 51.08 kB / 347.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.104e-06/0.1362, allocations: 0 / 347.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002532/0.1388, allocations: 1.44 MB / 348.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004081/0.1392, allocations: 0.9489 MB / 349.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/0.1402, allocations: 0.7786 MB / 350.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.243e-05/0.1403, allocations: 45.7 kB / 350.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.1406, allocations: 416.9 kB / 350.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.1409, allocations: 244.3 kB / 351.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1409, allocations: 16 kB / 351.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1411, allocations: 341.9 kB / 351.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/0.1416, allocations: 273.7 kB / 351.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008528/0.1425, allocations: 0.5919 MB / 352.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.1432, allocations: 407.9 kB / 352.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1432, allocations: 0 / 352.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001729/0.1449, allocations: 0.9703 MB / 353.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.145, allocations: 93.12 kB / 353.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.145, allocations: 7.984 kB / 353.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.1454, allocations: 124.2 kB / 353.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.1461, allocations: 155.8 kB / 354 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/0.1513, allocations: 6.785 MB / 360.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009143/0.1523, allocations: 115.3 kB / 360.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.1524, allocations: 24 kB / 361 MB, free: 1.707 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004902/0.1529, allocations: 249.6 kB / 361.2 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.1531, allocations: 98.88 kB / 361.3 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.1533, allocations: 100.9 kB / 361.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1533, allocations: 11.95 kB / 361.4 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.1533, allocations: 3.938 kB / 361.4 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001387/0.1547, allocations: 0.9857 MB / 362.4 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.1577, allocations: 1.762 MB / 364.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1577, allocations: 0 / 364.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/0.1584, allocations: 163.8 kB / 364.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.1586, allocations: 24.78 kB / 364.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.1586, allocations: 16 kB / 364.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008922/0.1595, allocations: 1.312 MB / 365.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1595, allocations: 0 / 365.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.1615, allocations: 1.1 MB / 366.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005703/0.1621, allocations: 255.7 kB / 367 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.1623, allocations: 23.95 kB / 367 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000669/0.163, allocations: 59.89 kB / 367.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.1631, allocations: 40.59 kB / 367.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.1631, allocations: 27.92 kB / 367.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007761/0.1639, allocations: 0.5419 MB / 367.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1639, allocations: 4 kB / 367.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001028/0.1649, allocations: 291.7 kB / 368 MB, free: 10.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002308/0.1652, allocations: 119.2 kB / 368.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.1676, allocations: 1.413 MB / 369.5 MB, free: 8.664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.1676, allocations: 4 kB / 369.5 MB, free: 8.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007748/0.1684, allocations: 426.3 kB / 369.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.1698, allocations: 271.3 kB / 370.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.1731, allocations: 2.007 MB / 372.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/0.1739, allocations: 0.9797 MB / 373.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006294/0.1745, allocations: 131.4 kB / 373.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.1747, allocations: 75.42 kB / 373.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1747, allocations: 0 / 373.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of Templates: time 0.2114/0.3861, allocations: 15.84 MB / 389.2 MB, free: 47.91 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches