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.001463/0.001463, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.001781/0.001781, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.256/1.256, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.001221/0.001221, allocations: 51.92 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.08066, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004073/0.08477, allocations: 3.77 MB / 330.7 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.08627, allocations: 1.029 MB / 331.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.08653, allocations: 11.94 kB / 331.7 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.08686, allocations: 83.38 kB / 331.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.08725, allocations: 174.7 kB / 331.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.08752, allocations: 127.8 kB / 332.1 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006498/0.08818, allocations: 0.6964 MB / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.08844, allocations: 210.8 kB / 333 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.08871, allocations: 267 kB / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.089, allocations: 298.8 kB / 333.5 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.28e-05/0.08909, allocations: 60 kB / 333.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.08919, allocations: 63.94 kB / 333.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.08928, allocations: 135.5 kB / 333.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.08953, allocations: 326.4 kB / 334.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.09006, allocations: 0.7007 MB / 334.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.09007, allocations: 4 kB / 334.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09008, allocations: 0 / 334.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.0901, allocations: 4 kB / 334.8 MB, free: 12.72 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.001323/0.09142, allocations: 0.9092 MB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.09146, allocations: 8.031 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.09158, allocations: 83.62 kB / 335.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.09169, allocations: 68.19 kB / 335.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.09223, allocations: 446.7 kB / 336.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.09242, allocations: 87.22 kB / 336.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.09248, allocations: 36.38 kB / 336.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.09328, allocations: 0.5175 MB / 336.9 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.0933, allocations: 0 / 336.9 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.09334, allocations: 16 kB / 337 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.09336, allocations: 12 kB / 337 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/0.09418, allocations: 379.7 kB / 337.3 MB, free: 10.02 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.001784/0.09597, allocations: 1.37 MB / 338.7 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/0.09677, allocations: 479.9 kB / 339.2 MB, free: 8.062 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.09718, allocations: 200.8 kB / 339.4 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.09722, allocations: 11.98 kB / 339.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.09725, allocations: 38.56 kB / 339.4 MB, free: 7.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.323e-06/0.09726, allocations: 0 / 339.4 MB, free: 7.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001484/0.09874, allocations: 0.7854 MB / 340.2 MB, free: 6.969 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.0989, allocations: 445 kB / 340.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.09935, allocations: 478 kB / 341.1 MB, free: 5.953 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.09939, allocations: 33.7 kB / 341.1 MB, free: 5.914 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.09955, allocations: 252.3 kB / 341.4 MB, free: 5.664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.09965, allocations: 130.1 kB / 341.5 MB, free: 5.535 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.09977, allocations: 89.64 kB / 341.6 MB, free: 5.441 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.0999, allocations: 358.8 kB / 342 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.1003, allocations: 155.9 kB / 342.1 MB, free: 4.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.1007, allocations: 310 kB / 342.4 MB, free: 4.574 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/0.1015, allocations: 371 kB / 342.8 MB, free: 4.199 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1015, allocations: 0 / 342.8 MB, free: 4.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009457/0.1024, allocations: 0.5114 MB / 343.3 MB, free: 3.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.1025, allocations: 33.7 kB / 343.3 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1025, allocations: 4 kB / 343.3 MB, free: 3.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.1026, allocations: 53.62 kB / 343.4 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.103, allocations: 95.75 kB / 343.5 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.1051, allocations: 2.968 MB / 346.4 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.1055, allocations: 55.66 kB / 346.5 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.1055, allocations: 11.98 kB / 346.5 MB, free: 160 kB / 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.0001882/0.1057, allocations: 177.8 kB / 346.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.1058, allocations: 55.34 kB / 346.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.046e-05/0.1059, allocations: 64.86 kB / 346.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1059, allocations: 4 kB / 346.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1059, allocations: 0 / 346.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009053/0.1068, allocations: 0.7668 MB / 347.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.1083, allocations: 1.071 MB / 348.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1083, allocations: 0 / 348.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.1088, allocations: 95.86 kB / 348.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1088, allocations: 7.984 kB / 348.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.1088, allocations: 8 kB / 348.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1088, allocations: 0 / 348.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1089, allocations: 11.98 kB / 348.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.1101, allocations: 0.71 MB / 349.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.1103, allocations: 168.5 kB / 349.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.1103, allocations: 12.06 kB / 349.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.1107, allocations: 39.8 kB / 349.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.1108, allocations: 27.97 kB / 349.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.1108, allocations: 8 kB / 349.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.1112, allocations: 342.9 kB / 350.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1112, allocations: 0 / 350.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004143/0.1117, allocations: 143.8 kB / 350.2 MB, free: 12.26 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.00159/0.1133, allocations: 1.266 MB / 351.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.1145, allocations: 0.6994 MB / 352.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1145, allocations: 0 / 352.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.1149, allocations: 200.2 kB / 352.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/0.1156, allocations: 137.8 kB / 352.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00628/0.1218, allocations: 5.062 MB / 357.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1222, allocations: 0.8353 MB / 358.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.1224, allocations: 68.53 kB / 358.5 MB, free: 3.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.1227, allocations: 179.4 kB / 358.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1227, allocations: 0 / 358.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2333/0.356, allocations: 13.55 MB / 372.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.3563, allocations: 243 kB / 372.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.664, allocations: 0 / 372.4 MB, free: 5.766 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