Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 111.5 kB / 17.06 MB, free: 6 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.001119/0.001119, allocations: 200 kB / 18 MB, free: 5.078 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.289/1.289, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 55.91 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2873, allocations: 49.42 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004948/0.2923, allocations: 3.762 MB / 404.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.294, allocations: 0.9929 MB / 405.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.2942, allocations: 8 kB / 405.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.2945, allocations: 115 kB / 405.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.2949, allocations: 210.3 kB / 405.8 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.2952, allocations: 135.8 kB / 405.9 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007133/0.296, allocations: 0.7003 MB / 406.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.2963, allocations: 200.2 kB / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.2965, allocations: 267 kB / 407.1 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.2969, allocations: 314.6 kB / 407.4 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.038e-05/0.297, allocations: 60 kB / 407.4 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.2971, allocations: 60 kB / 407.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2972, allocations: 131.6 kB / 407.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.2975, allocations: 326.4 kB / 408 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.2982, allocations: 0.716 MB / 408.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2982, allocations: 0 / 408.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2982, allocations: 4 kB / 408.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.2982, allocations: 0 / 408.7 MB, free: 0.8633 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001457/0.2997, allocations: 0.913 MB / 409.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2997, allocations: 8.031 kB / 409.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.2998, allocations: 68.19 kB / 409.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007747/0.3006, allocations: 442.8 kB / 410.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.3007, allocations: 59.25 kB / 410.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.3008, allocations: 32.38 kB / 410.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.3016, allocations: 0.5099 MB / 410.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3016, allocations: 0 / 410.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.3017, allocations: 19.94 kB / 410.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3017, allocations: 8 kB / 410.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/0.3025, allocations: 347.8 kB / 411.1 MB, free: 14.32 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.002048/0.3045, allocations: 1.339 MB / 412.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008922/0.3054, allocations: 467.5 kB / 412.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.306, allocations: 193.4 kB / 413 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.3061, allocations: 7.984 kB / 413.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.3061, allocations: 42.56 kB / 413.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.763e-06/0.3061, allocations: 0 / 413.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.002303/0.3084, allocations: 0.7388 MB / 413.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002484/0.3087, allocations: 460.8 kB / 414.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.3095, allocations: 474 kB / 414.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.3096, allocations: 37.7 kB / 414.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.3099, allocations: 248.4 kB / 415 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.31, allocations: 134.1 kB / 415.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.3102, allocations: 81.59 kB / 415.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3104, allocations: 358.8 kB / 415.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/0.311, allocations: 135.9 kB / 415.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007411/0.3118, allocations: 294.4 kB / 416 MB, free: 8.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.3129, allocations: 351 kB / 416.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3129, allocations: 0 / 416.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001542/0.3145, allocations: 0.4919 MB / 416.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.3145, allocations: 29.7 kB / 416.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3146, allocations: 0 / 416.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.3148, allocations: 53.69 kB / 416.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.3154, allocations: 83.88 kB / 417 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.319, allocations: 2.976 MB / 420 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.3196, allocations: 51.7 kB / 420 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.3197, allocations: 8 kB / 420 MB, free: 4.633 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003162/0.32, allocations: 181.7 kB / 420.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.3202, allocations: 59.28 kB / 420.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.3203, allocations: 52.94 kB / 420.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3204, allocations: 8 kB / 420.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3204, allocations: 3.938 kB / 420.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/0.3219, allocations: 0.7385 MB / 421.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.3244, allocations: 1.042 MB / 422.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3244, allocations: 3.938 kB / 422.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.3251, allocations: 91.88 kB / 422.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.3251, allocations: 4 kB / 422.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.3251, allocations: 4 kB / 422.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3251, allocations: 4 kB / 422.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3251, allocations: 4 kB / 422.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.3271, allocations: 0.6756 MB / 422.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.3275, allocations: 172.3 kB / 423.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.3276, allocations: 12 kB / 423.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.3282, allocations: 31.91 kB / 423.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3284, allocations: 19.97 kB / 423.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.3284, allocations: 12 kB / 423.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006205/0.329, allocations: 346.9 kB / 423.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.329, allocations: 0 / 423.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007675/0.3298, allocations: 139.9 kB / 423.6 MB, free: 0.832 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001727/0.33, allocations: 107.7 kB / 423.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.3316, allocations: 0.645 MB / 424.4 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.3317, allocations: 0 / 424.4 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.3323, allocations: 188.2 kB / 424.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3334, allocations: 153.7 kB / 424.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3359, allocations: 0.9576 MB / 425.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.3364, allocations: 0.8275 MB / 426.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000389/0.3368, allocations: 68.53 kB / 426.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.337, allocations: 43.44 kB / 426.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.337, allocations: 0 / 426.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Templates: time 0.02454/0.3616, allocations: 9.084 MB / 435.7 MB, free: 4.812 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches