Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001052/0.001058, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.001392/0.001392, allocations: 187.1 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000964/0.0009641, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2811, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006858/0.288, allocations: 5.61 MB / 407 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.291, allocations: 1.417 MB / 408.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004203/0.2914, allocations: 11.94 kB / 408.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.2919, allocations: 202.3 kB / 408.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007593/0.2928, allocations: 392.7 kB / 409 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.2933, allocations: 267.5 kB / 409.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.2946, allocations: 1.369 MB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.2952, allocations: 408.4 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005706/0.2957, allocations: 0.5138 MB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.2964, allocations: 0.5835 MB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.2965, allocations: 116 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.2967, allocations: 120 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.2969, allocations: 263.1 kB / 412.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005652/0.2975, allocations: 0.6066 MB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.2987, allocations: 1.401 MB / 414.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.2988, allocations: 4 kB / 414.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2988, allocations: 0 / 414.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.2988, allocations: 0 / 414.7 MB, free: 11.56 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.002493/0.3013, allocations: 1.477 MB / 416.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3013, allocations: 8.031 kB / 416.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.3015, allocations: 127.6 kB / 416.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.3026, allocations: 0.6382 MB / 416.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.3028, allocations: 151.6 kB / 417 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.3029, allocations: 76.22 kB / 417.1 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.3044, allocations: 0.9746 MB / 418.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3045, allocations: 0 / 418.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.3045, allocations: 32 kB / 418.1 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.3046, allocations: 16 kB / 418.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3058, allocations: 0.6246 MB / 418.8 MB, free: 7.199 MB / 334.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.004058/0.3099, allocations: 2.616 MB / 421.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.3125, allocations: 0.8768 MB / 422.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.3132, allocations: 350.7 kB / 422.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.3133, allocations: 12.66 kB / 422.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.3133, allocations: 59.14 kB / 422.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.915e-06/0.3133, allocations: 0 / 422.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002581/0.3159, allocations: 1.397 MB / 424.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004292/0.3163, allocations: 0.9567 MB / 425 MB, free: 416 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009804/0.3173, allocations: 0.7826 MB / 425.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.679e-05/0.3174, allocations: 45.7 kB / 425.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.3178, allocations: 416.9 kB / 426.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.318, allocations: 252.3 kB / 426.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.3182, allocations: 150.7 kB / 426.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3184, allocations: 337.9 kB / 427 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.3189, allocations: 261.8 kB / 427.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008239/0.3198, allocations: 0.5841 MB / 427.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.3209, allocations: 0.6599 MB / 428.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.321, allocations: 4 kB / 428.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001761/0.3227, allocations: 0.9547 MB / 429.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.3228, allocations: 89.11 kB / 429.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3228, allocations: 0 / 429.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.3232, allocations: 124.2 kB / 429.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.3239, allocations: 151.8 kB / 429.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005685/0.3296, allocations: 7.336 MB / 437.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3307, allocations: 99.23 kB / 437.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.3307, allocations: 31.98 kB / 437.3 MB, free: 3.195 MB / 350.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.0004152/0.3312, allocations: 243.3 kB / 437.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.3313, allocations: 106.8 kB / 437.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.3315, allocations: 100.9 kB / 437.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3315, allocations: 8 kB / 437.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3315, allocations: 0 / 437.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.3329, allocations: 0.9699 MB / 438.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.3356, allocations: 1.741 MB / 440.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3357, allocations: 0 / 440.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.3364, allocations: 151.8 kB / 440.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.3365, allocations: 28.78 kB / 440.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.3366, allocations: 19.98 kB / 440.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009824/0.3376, allocations: 1.403 MB / 442 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3376, allocations: 0 / 442 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.3396, allocations: 1.077 MB / 443.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.34, allocations: 259.8 kB / 443.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.3401, allocations: 16 kB / 443.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006421/0.3407, allocations: 43.81 kB / 443.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.3408, allocations: 52.59 kB / 443.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.3409, allocations: 19.94 kB / 443.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006936/0.3416, allocations: 0.5536 MB / 444 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3416, allocations: 0 / 444 MB, free: 12.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008129/0.3424, allocations: 291.6 kB / 444.3 MB, free: 11.76 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.000182/0.3426, allocations: 119.2 kB / 444.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.3447, allocations: 1.394 MB / 445.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.3448, allocations: 8.25 kB / 445.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006951/0.3455, allocations: 418.3 kB / 446.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.3466, allocations: 294 kB / 446.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.3495, allocations: 1.706 MB / 448.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.3501, allocations: 0.9797 MB / 449.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.3504, allocations: 79.42 kB / 449.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3504, allocations: 0 / 449.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of Templates: time 0.02811/0.3785, allocations: 24.34 MB / 473.6 MB, free: 14.38 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches