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.001153/0.001153, allocations: 107.3 kB / 18.35 MB, free: 4.77 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.001298/0.001298, allocations: 188.1 kB / 19.29 MB, free: 3.844 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.394/1.394, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001199/0.001199, allocations: 51.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09427, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00535/0.0997, allocations: 3.74 MB / 332.5 MB, free: 4 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1017, allocations: 1.025 MB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.1019, allocations: 11.94 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1023, allocations: 115 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.1027, allocations: 202.3 kB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.103, allocations: 135.8 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007268/0.1037, allocations: 0.7042 MB / 334.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.104, allocations: 206.7 kB / 334.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.1043, allocations: 271 kB / 335.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.1047, allocations: 306.7 kB / 335.4 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.223e-05/0.1048, allocations: 56 kB / 335.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.1048, allocations: 60 kB / 335.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.105, allocations: 135.5 kB / 335.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.1053, allocations: 322.5 kB / 336 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006599/0.106, allocations: 0.7124 MB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.106, allocations: 4 kB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.106, allocations: 0 / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.106, allocations: 0 / 336.7 MB, free: 11.75 MB / 286.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.001522/0.1075, allocations: 0.9131 MB / 337.6 MB, free: 10.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1076, allocations: 8.031 kB / 337.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.1077, allocations: 72.19 kB / 337.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007047/0.1084, allocations: 442.8 kB / 338.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/0.1085, allocations: 59.25 kB / 338.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1086, allocations: 36.38 kB / 338.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008354/0.1094, allocations: 0.506 MB / 338.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1095, allocations: 0 / 338.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.1095, allocations: 16 kB / 338.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.1095, allocations: 11.98 kB / 338.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007936/0.1103, allocations: 351.8 kB / 339.1 MB, free: 9.195 MB / 286.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.002025/0.1124, allocations: 1.343 MB / 340.4 MB, free: 7.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/0.1133, allocations: 460.2 kB / 340.9 MB, free: 7.281 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.1137, allocations: 188.8 kB / 341.1 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.1137, allocations: 15.97 kB / 341.1 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1138, allocations: 38.56 kB / 341.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.1138, allocations: 0 / 341.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001541/0.1153, allocations: 0.7396 MB / 341.9 MB, free: 6.242 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.1155, allocations: 452.9 kB / 342.3 MB, free: 5.695 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.1161, allocations: 474 kB / 342.8 MB, free: 5.223 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.1161, allocations: 37.7 kB / 342.8 MB, free: 5.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.1163, allocations: 248.4 kB / 343 MB, free: 4.934 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/0.1164, allocations: 130.1 kB / 343.2 MB, free: 4.805 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.1166, allocations: 81.64 kB / 343.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1167, allocations: 358.8 kB / 343.6 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.1171, allocations: 139.9 kB / 343.7 MB, free: 4.223 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.1175, allocations: 294.4 kB / 344 MB, free: 3.883 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.1182, allocations: 347.1 kB / 344.4 MB, free: 3.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1182, allocations: 0 / 344.4 MB, free: 3.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009554/0.1192, allocations: 0.4957 MB / 344.9 MB, free: 3.016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.1192, allocations: 29.7 kB / 344.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1193, allocations: 7.922 kB / 344.9 MB, free: 2.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.1194, allocations: 53.69 kB / 344.9 MB, free: 2.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.1199, allocations: 87.91 kB / 345 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.1221, allocations: 2.961 MB / 348 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.1226, allocations: 55.61 kB / 348 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.1226, allocations: 15.94 kB / 348.1 MB, free: 15.52 MB / 302.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.0002147/0.1229, allocations: 173.8 kB / 348.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.1229, allocations: 51.44 kB / 348.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.931e-05/0.123, allocations: 56.94 kB / 348.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1231, allocations: 4 kB / 348.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1231, allocations: 4.172 kB / 348.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009167/0.124, allocations: 0.7425 MB / 349.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.1256, allocations: 1.036 MB / 350.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.1256, allocations: 7.938 kB / 350.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.1261, allocations: 91.88 kB / 350.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1261, allocations: 4 kB / 350.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.1261, allocations: 4 kB / 350.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1261, allocations: 8 kB / 350.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1261, allocations: 0 / 350.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.1274, allocations: 0.676 MB / 350.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.1276, allocations: 180.2 kB / 351.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.1277, allocations: 8 kB / 351.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.128, allocations: 31.97 kB / 351.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.1281, allocations: 19.97 kB / 351.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1282, allocations: 8 kB / 351.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000357/0.1285, allocations: 346.9 kB / 351.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1285, allocations: 4.062 kB / 351.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004432/0.129, allocations: 135.8 kB / 351.6 MB, free: 11.73 MB / 302.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.0001498/0.1291, allocations: 111.2 kB / 351.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.1303, allocations: 0.6564 MB / 352.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1303, allocations: 4 kB / 352.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.1307, allocations: 179.8 kB / 352.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.1314, allocations: 145.8 kB / 352.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.1329, allocations: 0.9692 MB / 353.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.1333, allocations: 0.8275 MB / 354.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.1335, allocations: 68.53 kB / 354.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.1337, allocations: 43.44 kB / 354.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1337, allocations: 0 / 354.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of Templates: time 0.01466/0.1483, allocations: 8.99 MB / 363.6 MB, free: 15.64 MB / 318.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 -s gbode -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