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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.1 MB / 223.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009316/0.0009317, allocations: 99.91 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008608/0.0008609, allocations: 43.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1844, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005045/0.1895, allocations: 5.599 MB / 379.4 MB, free: 41.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1913, allocations: 1.468 MB / 380.9 MB, free: 40.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.1916, allocations: 14.44 kB / 380.9 MB, free: 40.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.1919, allocations: 151.4 kB / 381.1 MB, free: 40 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.1925, allocations: 339.1 kB / 381.4 MB, free: 39.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1928, allocations: 228.3 kB / 381.6 MB, free: 39.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008778/0.1937, allocations: 1.308 MB / 382.9 MB, free: 38.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.1941, allocations: 381.2 kB / 383.3 MB, free: 38.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.1944, allocations: 487.8 kB / 383.8 MB, free: 38.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.1949, allocations: 0.5587 MB / 384.3 MB, free: 37.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.195, allocations: 85.16 kB / 384.4 MB, free: 37.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.1952, allocations: 87.06 kB / 384.5 MB, free: 37.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1953, allocations: 221.6 kB / 384.7 MB, free: 37.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.1957, allocations: 0.5747 MB / 385.3 MB, free: 37.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008122/0.1966, allocations: 1.361 MB / 386.6 MB, free: 36.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1966, allocations: 3.938 kB / 386.6 MB, free: 36.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1966, allocations: 0 / 386.6 MB, free: 36.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.1966, allocations: 5.312 kB / 386.6 MB, free: 36.27 MB / 298.7 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.002002/0.1986, allocations: 1.477 MB / 388.1 MB, free: 35.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1986, allocations: 8.031 kB / 388.1 MB, free: 35.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1988, allocations: 135.5 kB / 388.3 MB, free: 34.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.1994, allocations: 0.6303 MB / 388.9 MB, free: 34.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.1996, allocations: 151.6 kB / 389 MB, free: 34.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.1997, allocations: 68.38 kB / 389.1 MB, free: 34.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.2007, allocations: 0.9653 MB / 390.1 MB, free: 32.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.2007, allocations: 4 kB / 390.1 MB, free: 32.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.2008, allocations: 36 kB / 390.1 MB, free: 32.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2008, allocations: 16 kB / 390.1 MB, free: 32.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.2018, allocations: 0.6285 MB / 390.8 MB, free: 32.26 MB / 298.7 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.002769/0.2046, allocations: 2.632 MB / 393.4 MB, free: 29.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.2066, allocations: 0.8653 MB / 394.3 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.2071, allocations: 355.1 kB / 394.6 MB, free: 28.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.2072, allocations: 16.62 kB / 394.6 MB, free: 28.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2072, allocations: 51.33 kB / 394.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.804e-06/0.2072, allocations: 3.938 kB / 394.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001935/0.2092, allocations: 1.401 MB / 396.1 MB, free: 26.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.2094, allocations: 0.9488 MB / 397 MB, free: 25.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/0.21, allocations: 0.7904 MB / 397.8 MB, free: 24.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.21, allocations: 45.7 kB / 397.9 MB, free: 24.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.2102, allocations: 412.5 kB / 398.3 MB, free: 24.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2103, allocations: 252.3 kB / 398.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.2105, allocations: 154.7 kB / 398.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.2106, allocations: 334 kB / 399 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.211, allocations: 253.9 kB / 399.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.2116, allocations: 0.588 MB / 399.8 MB, free: 22.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.2125, allocations: 0.6638 MB / 400.5 MB, free: 21.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2125, allocations: 4 kB / 400.5 MB, free: 21.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001242/0.2138, allocations: 0.9547 MB / 401.4 MB, free: 20.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.2138, allocations: 93.09 kB / 401.5 MB, free: 20.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.2138, allocations: 0 / 401.5 MB, free: 20.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.2141, allocations: 124.2 kB / 401.7 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.2147, allocations: 147.8 kB / 401.8 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.2179, allocations: 6.789 MB / 408.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.2186, allocations: 103.3 kB / 408.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.2186, allocations: 28 kB / 408.7 MB, free: 12.84 MB / 298.7 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.0002352/0.2189, allocations: 237.7 kB / 408.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.219, allocations: 102.8 kB / 409 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.2191, allocations: 112.8 kB / 409.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2192, allocations: 4 kB / 409.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2192, allocations: 4 kB / 409.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009787/0.2201, allocations: 0.9661 MB / 410.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.2221, allocations: 1.746 MB / 411.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2222, allocations: 0 / 411.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.2228, allocations: 159.8 kB / 412 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.527e-05/0.2229, allocations: 24.84 kB / 412.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.2229, allocations: 23.94 kB / 412.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005086/0.2234, allocations: 1.304 MB / 413.4 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2234, allocations: 3.938 kB / 413.4 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007042/0.2305, allocations: 6.399 MB / 419.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.2308, allocations: 263.7 kB / 420 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.2309, allocations: 27.98 kB / 420.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/0.2315, allocations: 39.97 kB / 420.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.2316, allocations: 48.53 kB / 420.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.2316, allocations: 19.98 kB / 420.2 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004515/0.232, allocations: 0.5459 MB / 420.7 MB, free: 188 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2321, allocations: 0 / 420.7 MB, free: 188 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008634/0.2329, allocations: 403.7 kB / 421.1 MB, free: 15.79 MB / 314.7 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.00014/0.2331, allocations: 123.2 kB / 421.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.2348, allocations: 1.386 MB / 422.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2348, allocations: 4 kB / 422.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.2354, allocations: 426.3 kB / 423 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.2365, allocations: 272.2 kB / 423.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.2394, allocations: 2.51 MB / 425.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.2398, allocations: 0.9956 MB / 426.8 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005434/0.2404, allocations: 131.5 kB / 426.9 MB, free: 9.766 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.2406, allocations: 91.41 kB / 427 MB, free: 9.676 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2406, allocations: 0 / 427 MB, free: 9.676 MB / 314.7 MB Notification: Performance of Templates: time 0.02516/0.2658, allocations: 18.6 MB / 445.6 MB, free: 7.074 MB / 330.7 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@2/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