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.00113/0.00113, allocations: 109.4 kB / 18.4 MB, free: 4.664 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.001269/0.001269, allocations: 189.1 kB / 19.33 MB, free: 3.738 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.437/1.437, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001356/0.001356, allocations: 51.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.0923, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005098/0.09743, allocations: 3.737 MB / 379.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2436/0.3411, allocations: 1.039 MB / 380.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.3417, allocations: 8.031 kB / 380.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.3424, allocations: 110 kB / 380.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008677/0.3432, allocations: 201.8 kB / 380.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.3438, allocations: 137.2 kB / 381 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.3452, allocations: 0.7083 MB / 381.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.3457, allocations: 209.6 kB / 381.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/0.3463, allocations: 265.3 kB / 382.2 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.3469, allocations: 306.4 kB / 382.5 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.3471, allocations: 59.31 kB / 382.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.3474, allocations: 61.56 kB / 382.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.3476, allocations: 130.5 kB / 382.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005255/0.3481, allocations: 325.8 kB / 383.1 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.3492, allocations: 0.7109 MB / 383.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3492, allocations: 4.5 kB / 383.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3492, allocations: 5.25 kB / 383.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.041e-05/0.3493, allocations: 0 / 383.8 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.00235/0.3516, allocations: 0.9199 MB / 384.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3517, allocations: 9.156 kB / 384.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.352, allocations: 66.94 kB / 384.8 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.3532, allocations: 439.9 kB / 385.2 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3533, allocations: 57.3 kB / 385.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.3534, allocations: 38.86 kB / 385.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.3546, allocations: 0.5048 MB / 385.8 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.3546, allocations: 1.781 kB / 385.8 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.3547, allocations: 15.44 kB / 385.8 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3547, allocations: 8.906 kB / 385.8 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3557, allocations: 356.2 kB / 386.2 MB, free: 7.824 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.002481/0.3582, allocations: 1.34 MB / 387.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/0.3592, allocations: 451.8 kB / 388 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.3596, allocations: 191.4 kB / 388.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.3597, allocations: 6.734 kB / 388.2 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3597, allocations: 39.27 kB / 388.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 3.356e-06/0.3597, allocations: 0 / 388.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001732/0.3614, allocations: 0.7416 MB / 388.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3616, allocations: 444.6 kB / 389.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/0.3622, allocations: 487.7 kB / 389.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.3623, allocations: 33.69 kB / 389.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3624, allocations: 243.3 kB / 390.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3626, allocations: 129.9 kB / 390.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3627, allocations: 80.38 kB / 390.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3628, allocations: 366.2 kB / 390.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.3633, allocations: 145.5 kB / 390.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.3638, allocations: 293.4 kB / 391.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008537/0.3647, allocations: 351.5 kB / 391.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3647, allocations: 0 / 391.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001185/0.3659, allocations: 0.4906 MB / 391.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.3659, allocations: 32.28 kB / 392 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3659, allocations: 2.156 kB / 392 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.3661, allocations: 49.97 kB / 392 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.3666, allocations: 88.62 kB / 392.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.3686, allocations: 2.968 MB / 395.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.3692, allocations: 49.33 kB / 395.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.3692, allocations: 13.41 kB / 395.1 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.0002626/0.3695, allocations: 173.9 kB / 395.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.3697, allocations: 57.59 kB / 395.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.3698, allocations: 56.98 kB / 395.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3698, allocations: 4.125 kB / 395.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3698, allocations: 3.938 kB / 395.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009225/0.3707, allocations: 0.7405 MB / 396.2 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.3731, allocations: 1.041 MB / 397.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3732, allocations: 0 / 397.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.3737, allocations: 102.5 kB / 397.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.3737, allocations: 2.125 kB / 397.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.3737, allocations: 6.969 kB / 397.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.3737, allocations: 1.875 kB / 397.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3737, allocations: 0 / 397.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.3753, allocations: 0.673 MB / 398 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.3756, allocations: 172.7 kB / 398.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.3758, allocations: 12.17 kB / 398.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.3762, allocations: 26.61 kB / 398.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.3763, allocations: 27.38 kB / 398.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.3763, allocations: 16.22 kB / 398.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004926/0.3768, allocations: 337 kB / 398.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3768, allocations: 0 / 398.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006128/0.3775, allocations: 147.5 kB / 398.7 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.0001619/0.3776, allocations: 113.5 kB / 398.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.3792, allocations: 0.6506 MB / 399.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.3792, allocations: 1.219 kB / 399.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.3797, allocations: 178.9 kB / 399.7 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.0008005/0.3805, allocations: 155.4 kB / 399.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3825, allocations: 0.9775 MB / 400.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.383, allocations: 0.8353 MB / 401.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.3832, allocations: 48.3 kB / 401.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3832, allocations: 0 / 401.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Templates: time 0.01863/0.4018, allocations: 9.199 MB / 410.9 MB, free: 8.922 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/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