Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009965/0.0009966, allocations: 99.77 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009662/0.0009663, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1988, allocations: 50.46 MB / 407 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004461/0.2033, allocations: 5.618 MB / 412.7 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.2053, allocations: 1.462 MB / 414.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.2056, allocations: 15.94 kB / 414.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.2059, allocations: 159 kB / 414.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.2065, allocations: 337.3 kB / 414.6 MB, free: 20.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.2068, allocations: 223.7 kB / 414.8 MB, free: 19.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007656/0.2076, allocations: 1.308 MB / 416.2 MB, free: 18.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.2079, allocations: 368.3 kB / 416.5 MB, free: 18.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.2082, allocations: 490.1 kB / 417 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.2086, allocations: 0.5601 MB / 417.6 MB, free: 17.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.2087, allocations: 84 kB / 417.6 MB, free: 17.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.2089, allocations: 88 kB / 417.7 MB, free: 17.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.209, allocations: 231.1 kB / 417.9 MB, free: 16.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.2093, allocations: 0.5753 MB / 418.5 MB, free: 16.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.2101, allocations: 1.351 MB / 419.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2101, allocations: 0 / 419.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2101, allocations: 0 / 419.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.2101, allocations: 0 / 419.9 MB, free: 14.9 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.001945/0.212, allocations: 1.481 MB / 421.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.2121, allocations: 8.031 kB / 421.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.2122, allocations: 127.5 kB / 421.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.2129, allocations: 0.6343 MB / 422.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.213, allocations: 147.7 kB / 422.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.167e-05/0.2131, allocations: 76.36 kB / 422.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.2142, allocations: 0.9667 MB / 423.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2142, allocations: 3.984 kB / 423.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.2143, allocations: 40 kB / 423.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2143, allocations: 16 kB / 423.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.2154, allocations: 0.6129 MB / 424 MB, free: 10.55 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.002891/0.2183, allocations: 2.645 MB / 426.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.2205, allocations: 0.8679 MB / 427.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/0.2211, allocations: 357.1 kB / 427.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-05/0.2211, allocations: 16.64 kB / 427.9 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2212, allocations: 53.02 kB / 427.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.924e-06/0.2212, allocations: 0 / 427.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002085/0.2233, allocations: 1.401 MB / 429.3 MB, free: 4.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.2234, allocations: 0.9489 MB / 430.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.2241, allocations: 0.7903 MB / 431 MB, free: 2.938 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.2242, allocations: 45.7 kB / 431.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.2244, allocations: 416.5 kB / 431.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.2245, allocations: 244.4 kB / 431.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.2247, allocations: 166.5 kB / 431.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.589e-05/0.2248, allocations: 330 kB / 432.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.2253, allocations: 257.9 kB / 432.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.2259, allocations: 0.5801 MB / 433.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.2269, allocations: 0.6678 MB / 433.7 MB, free: 88 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2269, allocations: 4 kB / 433.7 MB, free: 84 kB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001584/0.2285, allocations: 0.9547 MB / 434.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.2285, allocations: 85.11 kB / 434.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.2285, allocations: 4 kB / 434.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.2289, allocations: 128.2 kB / 434.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.2295, allocations: 151.8 kB / 435 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.2343, allocations: 6.801 MB / 441.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000893/0.2352, allocations: 103.3 kB / 441.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.2353, allocations: 24 kB / 442 MB, free: 7.094 MB / 314.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.0003591/0.2357, allocations: 235.7 kB / 442.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.2358, allocations: 110.8 kB / 442.3 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.236, allocations: 104.9 kB / 442.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.236, allocations: 4 kB / 442.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.236, allocations: 8 kB / 442.4 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/0.2373, allocations: 0.9583 MB / 443.4 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.24, allocations: 1.758 MB / 445.1 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.24, allocations: 0 / 445.1 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/0.2408, allocations: 155.8 kB / 445.3 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.2409, allocations: 24.84 kB / 445.3 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.2409, allocations: 16 kB / 445.3 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00082/0.2418, allocations: 1.304 MB / 446.6 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2418, allocations: 4.031 kB / 446.6 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008976/0.2508, allocations: 6.395 MB / 453 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.2511, allocations: 259.7 kB / 453.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.2512, allocations: 20 kB / 453.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.2519, allocations: 48.02 kB / 453.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.252, allocations: 48.59 kB / 453.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.252, allocations: 16 kB / 453.4 MB, free: 11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006455/0.2527, allocations: 0.5459 MB / 454 MB, free: 10.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2527, allocations: 0 / 454 MB, free: 10.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009594/0.2537, allocations: 407.6 kB / 454.4 MB, free: 10.06 MB / 330.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.0001426/0.2538, allocations: 131 kB / 454.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.2557, allocations: 1.386 MB / 455.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2557, allocations: 4 kB / 455.9 MB, free: 8.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006439/0.2564, allocations: 418.3 kB / 456.3 MB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.2575, allocations: 266.8 kB / 456.5 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.2606, allocations: 2.509 MB / 459.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.2611, allocations: 0.9994 MB / 460.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005535/0.2617, allocations: 139.5 kB / 460.2 MB, free: 4.027 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.2619, allocations: 79.42 kB / 460.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2619, allocations: 3.938 kB / 460.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of Templates: time 0.02735/0.2893, allocations: 18.62 MB / 478.9 MB, free: 1.613 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches