Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001264/0.001264, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001372/0.001372, allocations: 179.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 55.92 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.08911, allocations: 46.62 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004966/0.09411, allocations: 3.744 MB / 378.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2/0.2941, allocations: 1.033 MB / 379.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005213/0.2947, allocations: 6.062 kB / 379.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.2953, allocations: 114.6 kB / 380 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.2958, allocations: 206.1 kB / 380.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.2961, allocations: 137.4 kB / 380.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009102/0.2971, allocations: 0.7095 MB / 381.1 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.2975, allocations: 203.8 kB / 381.3 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.2979, allocations: 269.5 kB / 381.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.2983, allocations: 306.7 kB / 381.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.2985, allocations: 58.22 kB / 381.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.2987, allocations: 60.56 kB / 382 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.2988, allocations: 133.3 kB / 382.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.2992, allocations: 321 kB / 382.4 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008287/0.3, allocations: 0.7157 MB / 383.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3, allocations: 1.156 kB / 383.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3, allocations: 1.688 kB / 383.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3, allocations: 3.938 kB / 383.1 MB, free: 9.168 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.001577/0.3016, allocations: 0.9175 MB / 384 MB, free: 8.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3017, allocations: 13.19 kB / 384 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.3018, allocations: 67.59 kB / 384.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.3025, allocations: 437.5 kB / 384.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.3027, allocations: 57 kB / 384.6 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.3027, allocations: 41.66 kB / 384.6 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008327/0.3036, allocations: 0.4966 MB / 385.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3036, allocations: 2.016 kB / 385.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.3036, allocations: 16.56 kB / 385.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3037, allocations: 7.812 kB / 385.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008308/0.3045, allocations: 361.8 kB / 385.5 MB, free: 7.828 MB / 318.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.002058/0.3066, allocations: 1.337 MB / 386.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009183/0.3075, allocations: 456.8 kB / 387.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.3079, allocations: 194.2 kB / 387.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.308, allocations: 7.531 kB / 387.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.308, allocations: 39.5 kB / 387.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.763e-06/0.308, allocations: 0 / 387.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001623/0.3097, allocations: 0.7368 MB / 388.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3098, allocations: 448.3 kB / 388.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.3103, allocations: 485.3 kB / 389.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3104, allocations: 38.27 kB / 389.2 MB, free: 5.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3106, allocations: 242.2 kB / 389.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.3107, allocations: 129 kB / 389.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3108, allocations: 81.34 kB / 389.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3109, allocations: 362 kB / 390 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.3113, allocations: 141 kB / 390.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.3117, allocations: 304.3 kB / 390.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.3125, allocations: 345.2 kB / 390.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3125, allocations: 2.125 kB / 390.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009873/0.3135, allocations: 0.4899 MB / 391.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.3136, allocations: 32.14 kB / 391.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3136, allocations: 1.438 kB / 391.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.3138, allocations: 49.75 kB / 391.4 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.3142, allocations: 93.22 kB / 391.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.3161, allocations: 2.96 MB / 394.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.3165, allocations: 55.48 kB / 394.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.3166, allocations: 11.91 kB / 394.5 MB, free: 1.047 MB / 318.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.0002149/0.3168, allocations: 169.8 kB / 394.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-05/0.3169, allocations: 62.97 kB / 394.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.317, allocations: 57.06 kB / 394.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.317, allocations: 4.031 kB / 394.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.317, allocations: 3.938 kB / 394.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008708/0.3179, allocations: 0.7413 MB / 395.5 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.3198, allocations: 1.039 MB / 396.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3198, allocations: 2.531 kB / 396.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.3203, allocations: 91.44 kB / 396.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3203, allocations: 5.688 kB / 396.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3203, allocations: 8.469 kB / 396.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3203, allocations: 1.688 kB / 396.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3203, allocations: 0 / 396.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.3218, allocations: 0.6744 MB / 397.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.322, allocations: 172.5 kB / 397.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.3221, allocations: 12.64 kB / 397.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.3225, allocations: 25.33 kB / 397.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.3226, allocations: 28.27 kB / 397.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.3226, allocations: 11.64 kB / 397.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004457/0.3231, allocations: 341.4 kB / 397.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3231, allocations: 0 / 397.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.3235, allocations: 147 kB / 398 MB, free: 14.86 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.0001331/0.3237, allocations: 112.8 kB / 398.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.3251, allocations: 0.648 MB / 398.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.3251, allocations: 5.219 kB / 398.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.3255, allocations: 178.3 kB / 399 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.3262, allocations: 147.1 kB / 399.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3279, allocations: 0.9605 MB / 400.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.3284, allocations: 0.8353 MB / 400.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002894/0.3287, allocations: 61.39 kB / 401 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3288, allocations: 50.44 kB / 401 MB, free: 12.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3289, allocations: 1.25 kB / 401 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Templates: time 0.01944/0.3483, allocations: 9.081 MB / 410.1 MB, free: 9.27 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches