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.001543/0.001543, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002121/0.002121, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 65.2 kB / 307 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09854, allocations: 50.53 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007071/0.1056, allocations: 5.614 MB / 363.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.1084, allocations: 1.457 MB / 364.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.1088, allocations: 15.94 kB / 364.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.1093, allocations: 194.3 kB / 364.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007001/0.11, allocations: 380.7 kB / 365.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.1105, allocations: 263.6 kB / 365.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.1118, allocations: 1.359 MB / 366.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005513/0.1124, allocations: 411.1 kB / 367.2 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.1129, allocations: 0.5022 MB / 367.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006462/0.1136, allocations: 0.5874 MB / 368.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.1138, allocations: 116 kB / 368.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.114, allocations: 124 kB / 368.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.1142, allocations: 259.1 kB / 368.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.1148, allocations: 0.6105 MB / 369.4 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.116, allocations: 1.382 MB / 370.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1161, allocations: 0 / 370.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1161, allocations: 0 / 370.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1161, allocations: 0 / 370.8 MB, free: 0.7109 MB / 302.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.1571/0.2732, allocations: 1.479 MB / 372.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2732, allocations: 10.27 kB / 372.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.2735, allocations: 128.8 kB / 372.4 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008273/0.2743, allocations: 0.6333 MB / 373 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.2745, allocations: 151.2 kB / 373.2 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.2746, allocations: 67.7 kB / 373.2 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.276, allocations: 0.974 MB / 374.2 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.276, allocations: 4.625 kB / 374.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/0.2761, allocations: 33.81 kB / 374.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2761, allocations: 16.75 kB / 374.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.2774, allocations: 0.6206 MB / 374.9 MB, free: 18.68 MB / 302.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.003812/0.2812, allocations: 2.639 MB / 377.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.2836, allocations: 0.8707 MB / 378.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.2843, allocations: 354.6 kB / 378.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.2844, allocations: 15.3 kB / 378.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2844, allocations: 50.75 kB / 378.8 MB, free: 16.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.2844, allocations: 0 / 378.8 MB, free: 16.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002388/0.2868, allocations: 1.404 MB / 380.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.287, allocations: 0.9488 MB / 381.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009094/0.2879, allocations: 0.7827 MB / 381.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.2879, allocations: 49.23 kB / 382 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.2882, allocations: 413.5 kB / 382.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.2884, allocations: 253.6 kB / 382.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.2886, allocations: 156.5 kB / 382.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.2887, allocations: 332.2 kB / 383.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/0.2893, allocations: 256 kB / 383.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008111/0.2901, allocations: 0.5953 MB / 383.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.2913, allocations: 0.6597 MB / 384.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2913, allocations: 0 / 384.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001743/0.2931, allocations: 0.9588 MB / 385.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.2932, allocations: 85.95 kB / 385.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2932, allocations: 1.125 kB / 385.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/0.2935, allocations: 128.7 kB / 385.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/0.2942, allocations: 150.4 kB / 385.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/0.2984, allocations: 7.325 MB / 393.2 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.2994, allocations: 98.56 kB / 393.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.2995, allocations: 29.09 kB / 393.4 MB, free: 4.273 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 (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.0003594/0.2999, allocations: 248.9 kB / 393.6 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3, allocations: 109.3 kB / 393.7 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.3002, allocations: 103.1 kB / 393.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.3002, allocations: 11.05 kB / 393.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.3002, allocations: 1.188 kB / 393.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/0.3015, allocations: 0.965 MB / 394.8 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.3043, allocations: 1.747 MB / 396.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3043, allocations: 0.5156 kB / 396.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.305, allocations: 154.2 kB / 396.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.032e-05/0.3051, allocations: 29.66 kB / 396.7 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.3052, allocations: 19.66 kB / 396.7 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005848/0.3058, allocations: 1.415 MB / 398.2 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3058, allocations: 0 / 398.2 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.3076, allocations: 1.067 MB / 399.2 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.3079, allocations: 264.6 kB / 399.5 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3081, allocations: 19.88 kB / 399.5 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.3087, allocations: 38.88 kB / 399.5 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.3088, allocations: 44.88 kB / 399.6 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.3089, allocations: 20.83 kB / 399.6 MB, free: 32 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007448/0.3096, allocations: 0.5498 MB / 400.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3096, allocations: 1.375 kB / 400.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008235/0.3105, allocations: 291.9 kB / 400.4 MB, free: 15.69 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 (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.0001688/0.3106, allocations: 122.9 kB / 400.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.313, allocations: 1.427 MB / 402 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3131, allocations: 2.75 kB / 402 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006807/0.3137, allocations: 421.1 kB / 402.4 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3149, allocations: 273.4 kB / 402.7 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.3177, allocations: 1.709 MB / 404.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.3182, allocations: 0.9787 MB / 405.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005165/0.3187, allocations: 126.5 kB / 405.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.3189, allocations: 78.45 kB / 405.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3189, allocations: 0 / 405.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Templates: time 0.02876/0.3477, allocations: 17.64 MB / 423.2 MB, free: 11.53 MB / 334.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.1.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