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.001677/0.001677, allocations: 103.4 kB / 17.16 MB, free: 6.316 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.001942/0.001942, allocations: 190 kB / 18.07 MB, free: 5.414 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.509/1.509, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.00115/0.00115, allocations: 43.94 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09122, allocations: 46.62 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00489/0.09616, allocations: 3.77 MB / 330.4 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.09803, allocations: 1.037 MB / 331.4 MB, free: 48 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.09829, allocations: 8 kB / 331.4 MB, free: 40 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.09867, allocations: 91.47 kB / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.09904, allocations: 174.6 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.09929, allocations: 115.9 kB / 331.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.09987, allocations: 0.6729 MB / 332.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.1001, allocations: 187.5 kB / 332.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.1004, allocations: 243 kB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.1007, allocations: 298.6 kB / 333.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.1008, allocations: 40 kB / 333.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1009, allocations: 40 kB / 333.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.101, allocations: 115.5 kB / 333.4 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.1013, allocations: 302.5 kB / 333.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.1019, allocations: 0.6929 MB / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1019, allocations: 0 / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1019, allocations: 0 / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1019, allocations: 0 / 334.3 MB, free: 13.09 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.001509/0.1034, allocations: 0.9131 MB / 335.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1034, allocations: 8.031 kB / 335.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1036, allocations: 68.19 kB / 335.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.1042, allocations: 438.7 kB / 335.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.1044, allocations: 91.16 kB / 335.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.1045, allocations: 36.38 kB / 335.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009103/0.1054, allocations: 0.5133 MB / 336.4 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1055, allocations: 0 / 336.4 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.1055, allocations: 16 kB / 336.4 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1055, allocations: 8 kB / 336.4 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009299/0.1065, allocations: 383.7 kB / 336.8 MB, free: 10.48 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.002057/0.1085, allocations: 1.355 MB / 338.1 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/0.1095, allocations: 471.8 kB / 338.6 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004524/0.1099, allocations: 208.8 kB / 338.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.11, allocations: 11.98 kB / 338.8 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.11, allocations: 42.56 kB / 338.9 MB, free: 8.273 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.11, allocations: 0 / 338.9 MB, free: 8.273 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001792/0.1118, allocations: 0.7779 MB / 339.6 MB, free: 7.445 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/0.1121, allocations: 449 kB / 340.1 MB, free: 6.902 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.1127, allocations: 478 kB / 340.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.1127, allocations: 33.7 kB / 340.6 MB, free: 6.383 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.113, allocations: 252.4 kB / 340.8 MB, free: 6.133 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1131, allocations: 130.1 kB / 341 MB, free: 6.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.1132, allocations: 81.59 kB / 341 MB, free: 5.918 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1134, allocations: 358.8 kB / 341.4 MB, free: 5.559 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.1139, allocations: 155.9 kB / 341.5 MB, free: 5.406 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.1144, allocations: 318.1 kB / 341.8 MB, free: 5.043 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/0.1153, allocations: 367.1 kB / 342.2 MB, free: 4.672 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1154, allocations: 0 / 342.2 MB, free: 4.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001105/0.1165, allocations: 0.523 MB / 342.7 MB, free: 4.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.1165, allocations: 29.7 kB / 342.8 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1165, allocations: 80 / 342.8 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.1167, allocations: 49.69 kB / 342.8 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.1172, allocations: 91.88 kB / 342.9 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.1194, allocations: 2.748 MB / 345.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.12, allocations: 63.64 kB / 345.7 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.12, allocations: 15.98 kB / 345.7 MB, free: 0.8594 MB / 286.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.0002766/0.1203, allocations: 173.7 kB / 345.9 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1204, allocations: 55.34 kB / 345.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.1206, allocations: 56.92 kB / 346 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1206, allocations: 4 kB / 346 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1206, allocations: 0 / 346 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/0.1217, allocations: 0.7747 MB / 346.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.1236, allocations: 1.055 MB / 347.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1236, allocations: 8 kB / 347.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.1241, allocations: 99.8 kB / 347.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.1241, allocations: 4 kB / 347.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.1242, allocations: 4 kB / 347.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1242, allocations: 8 kB / 348 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1242, allocations: 0 / 348 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.1256, allocations: 0.7139 MB / 348.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.1259, allocations: 180.4 kB / 348.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.126, allocations: 8 kB / 348.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.1264, allocations: 39.94 kB / 348.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.1265, allocations: 27.91 kB / 348.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.1265, allocations: 8 kB / 348.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.1269, allocations: 338.9 kB / 349.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1269, allocations: 3.938 kB / 349.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004937/0.1274, allocations: 143.8 kB / 349.4 MB, free: 12.97 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.0001439/0.1276, allocations: 115.2 kB / 349.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.1291, allocations: 0.6604 MB / 350.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.1291, allocations: 0 / 350.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.1296, allocations: 203.6 kB / 350.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.1306, allocations: 138.1 kB / 350.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1327, allocations: 1.132 MB / 351.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.1332, allocations: 0.8353 MB / 352.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000317/0.1335, allocations: 64.55 kB / 352.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.1336, allocations: 47.42 kB / 352.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1336, allocations: 0 / 352.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Templates: time 0.01494/0.1486, allocations: 8.373 MB / 361 MB, free: 1.305 MB / 302.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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches