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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001074, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2314, allocations: 50.54 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005796/0.2373, allocations: 5.617 MB / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.2396, allocations: 1.452 MB / 416.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.2398, allocations: 15.94 kB / 416.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.2403, allocations: 190.3 kB / 416.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.2409, allocations: 384.7 kB / 416.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.2413, allocations: 267.6 kB / 417.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.2426, allocations: 1.35 MB / 418.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.2431, allocations: 418.9 kB / 418.9 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/0.2436, allocations: 0.5177 MB / 419.4 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006243/0.2443, allocations: 0.5796 MB / 420 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.2444, allocations: 120 kB / 420.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.2446, allocations: 120 kB / 420.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.2448, allocations: 259.1 kB / 420.5 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.2453, allocations: 0.6067 MB / 421.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.2465, allocations: 1.407 MB / 422.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2465, allocations: 3.938 kB / 422.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2465, allocations: 0 / 422.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.2465, allocations: 0 / 422.5 MB, free: 4.242 MB / 334.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.002524/0.2491, allocations: 1.481 MB / 424 MB, free: 2.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2491, allocations: 12.03 kB / 424 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.2493, allocations: 127.6 kB / 424.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/0.2502, allocations: 0.6342 MB / 424.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.2504, allocations: 147.7 kB / 424.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.2506, allocations: 76.28 kB / 425 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.252, allocations: 0.9669 MB / 426 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.252, allocations: 0 / 426 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.851e-05/0.2521, allocations: 36 kB / 426 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.2521, allocations: 19.94 kB / 426 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.2534, allocations: 0.6246 MB / 426.6 MB, free: 15.87 MB / 350.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.003896/0.2573, allocations: 2.613 MB / 429.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.2598, allocations: 0.869 MB / 430.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/0.2605, allocations: 354.7 kB / 430.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.792e-05/0.2606, allocations: 20.64 kB / 430.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2606, allocations: 47.22 kB / 430.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.455e-06/0.2607, allocations: 0 / 430.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002554/0.2632, allocations: 1.408 MB / 431.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004076/0.2636, allocations: 0.9489 MB / 432.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009707/0.2646, allocations: 0.7826 MB / 433.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.2647, allocations: 45.7 kB / 433.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.265, allocations: 412.4 kB / 434.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.2652, allocations: 252.3 kB / 434.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.2655, allocations: 166.6 kB / 434.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2656, allocations: 330 kB / 434.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.2662, allocations: 249.9 kB / 435.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/0.267, allocations: 0.5918 MB / 435.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.2682, allocations: 0.6678 MB / 436.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.2682, allocations: 0 / 436.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001731/0.27, allocations: 0.9545 MB / 437.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.27, allocations: 85.09 kB / 437.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2701, allocations: 8 kB / 437.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.2704, allocations: 128.3 kB / 437.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.2711, allocations: 147.8 kB / 437.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005511/0.2767, allocations: 7.333 MB / 445 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009343/0.2776, allocations: 99.23 kB / 445.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.2777, allocations: 27.98 kB / 445.1 MB, free: 11.89 MB / 366.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.0003866/0.2781, allocations: 237.7 kB / 445.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.2783, allocations: 106.8 kB / 445.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.2785, allocations: 100.8 kB / 445.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2785, allocations: 8 kB / 445.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2785, allocations: 0 / 445.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001383/0.2799, allocations: 0.978 MB / 446.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.2826, allocations: 1.748 MB / 448.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2826, allocations: 0 / 448.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008058/0.2834, allocations: 159.8 kB / 448.4 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.261e-05/0.2835, allocations: 20.84 kB / 448.5 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.2836, allocations: 19.98 kB / 448.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009092/0.2845, allocations: 1.403 MB / 449.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2845, allocations: 0 / 449.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.2864, allocations: 1.081 MB / 451 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.2868, allocations: 255.7 kB / 451.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.287, allocations: 20 kB / 451.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/0.2876, allocations: 39.97 kB / 451.3 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.2877, allocations: 40.59 kB / 451.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.2878, allocations: 19.98 kB / 451.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006683/0.2884, allocations: 0.5498 MB / 451.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2884, allocations: 0 / 451.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007474/0.2892, allocations: 295.6 kB / 452.2 MB, free: 4.449 MB / 366.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.0001645/0.2894, allocations: 130.5 kB / 452.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.2913, allocations: 1.398 MB / 453.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.2914, allocations: 7.797 kB / 453.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006925/0.2921, allocations: 426.3 kB / 454.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.2931, allocations: 279.1 kB / 454.4 MB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.2958, allocations: 1.668 MB / 456.1 MB, free: 416 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.2963, allocations: 0.9797 MB / 457 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004487/0.2968, allocations: 127.5 kB / 457.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.297, allocations: 75.42 kB / 457.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.297, allocations: 0 / 457.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of Templates: time 0.02719/0.3242, allocations: 17.82 MB / 475.1 MB, free: 13.68 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches