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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007759/0.0007759, allocations: 98.69 kB / 17.3 MB, free: 6.344 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.0007651/0.0007652, allocations: 178.1 kB / 18.2 MB, free: 5.531 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.343/1.343, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0004406/0.0004406, allocations: 8 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09848, allocations: 47.57 MB / 329 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003777/0.1023, allocations: 3.396 MB / 332.4 MB, free: 256 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1039, allocations: 0.971 MB / 333.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.1041, allocations: 7.938 kB / 333.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.1044, allocations: 83.44 kB / 333.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.1048, allocations: 182.6 kB / 333.7 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1051, allocations: 119.8 kB / 333.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006617/0.1057, allocations: 0.6691 MB / 334.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.106, allocations: 179.6 kB / 334.6 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.1063, allocations: 242.9 kB / 334.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.1066, allocations: 274.8 kB / 335.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.1066, allocations: 36 kB / 335.2 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.1067, allocations: 40 kB / 335.2 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1068, allocations: 111.5 kB / 335.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.1072, allocations: 320.2 kB / 335.6 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.1078, allocations: 0.6654 MB / 336.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1078, allocations: 0 / 336.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1078, allocations: 7.875 kB / 336.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.1078, allocations: 0 / 336.3 MB, free: 12.34 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.001482/0.1093, allocations: 0.8315 MB / 337.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.1094, allocations: 12.03 kB / 337.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.1095, allocations: 79.7 kB / 337.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.1097, allocations: 68.19 kB / 337.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.1103, allocations: 446.7 kB / 337.7 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.1106, allocations: 91.22 kB / 337.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.1107, allocations: 32.38 kB / 337.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.1116, allocations: 0.5371 MB / 338.4 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1116, allocations: 0 / 338.4 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.1117, allocations: 16 kB / 338.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1117, allocations: 12 kB / 338.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009508/0.1127, allocations: 403.7 kB / 338.8 MB, free: 9.676 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.002139/0.1148, allocations: 1.378 MB / 340.2 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000921/0.1158, allocations: 496 kB / 340.7 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.1162, allocations: 216.8 kB / 340.9 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.1163, allocations: 4 kB / 340.9 MB, free: 7.477 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1163, allocations: 38.56 kB / 340.9 MB, free: 7.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.1163, allocations: 0 / 340.9 MB, free: 7.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001748/0.1181, allocations: 0.8244 MB / 341.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/0.1183, allocations: 445 kB / 342.2 MB, free: 6.016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.1188, allocations: 478 kB / 342.7 MB, free: 5.535 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.1189, allocations: 33.7 kB / 342.7 MB, free: 5.496 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.1191, allocations: 248.4 kB / 342.9 MB, free: 5.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1192, allocations: 126 kB / 343.1 MB, free: 5.125 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.1193, allocations: 37.7 kB / 343.1 MB, free: 5.082 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1194, allocations: 358.8 kB / 343.5 MB, free: 4.723 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/0.1199, allocations: 175.8 kB / 343.6 MB, free: 4.551 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.1205, allocations: 320.9 kB / 343.9 MB, free: 4.188 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/0.1214, allocations: 399 kB / 344.3 MB, free: 3.785 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1214, allocations: 0 / 344.3 MB, free: 3.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001104/0.1225, allocations: 0.5309 MB / 344.9 MB, free: 3.234 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.1225, allocations: 33.7 kB / 344.9 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1226, allocations: 3.984 kB / 344.9 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.1227, allocations: 49.64 kB / 344.9 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.1232, allocations: 103.9 kB / 345 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.1256, allocations: 2.74 MB / 347.8 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.1261, allocations: 67.69 kB / 347.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1261, allocations: 12 kB / 347.9 MB, free: 15.95 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.0002273/0.1263, allocations: 173.7 kB / 348 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.1264, allocations: 59.28 kB / 348.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1266, allocations: 64.92 kB / 348.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1266, allocations: 4 kB / 348.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1266, allocations: 0 / 348.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/0.1277, allocations: 0.7864 MB / 348.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.1294, allocations: 1.102 MB / 350 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1295, allocations: 0 / 350 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.1299, allocations: 103.9 kB / 350.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1299, allocations: 0 / 350.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.13, allocations: 8 kB / 350.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.13, allocations: 7.922 kB / 350.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.13, allocations: 0 / 350.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.1314, allocations: 0.7452 MB / 350.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.1317, allocations: 168.5 kB / 351.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.1317, allocations: 11.98 kB / 351.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.1321, allocations: 43.88 kB / 351.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.1322, allocations: 23.97 kB / 351.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.1322, allocations: 15.98 kB / 351.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004004/0.1326, allocations: 342.9 kB / 351.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1327, allocations: 0 / 351.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.1331, allocations: 143.8 kB / 351.6 MB, free: 11.96 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.001804/0.1349, allocations: 1.286 MB / 352.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.1363, allocations: 0.6995 MB / 353.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1363, allocations: 0 / 353.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.1368, allocations: 216.2 kB / 353.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.1376, allocations: 142 kB / 354 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007569/0.1452, allocations: 5.175 MB / 359.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.1456, allocations: 0.8354 MB / 360 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00032/0.146, allocations: 68.52 kB / 360.1 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.1463, allocations: 183.3 kB / 360.2 MB, free: 3.16 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1463, allocations: 0 / 360.2 MB, free: 3.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04386/0.1901, allocations: 12.93 MB / 373.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/0.1905, allocations: 238.1 kB / 373.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/2.33, allocations: 0 / 373.4 MB, free: 5.957 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches