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.001047/0.001048, allocations: 107.1 kB / 17.15 MB, free: 6.309 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.001062/0.001062, allocations: 198 kB / 18.07 MB, free: 5.41 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.408/1.408, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001124/0.001124, allocations: 51.92 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08725, allocations: 46.63 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005285/0.09261, allocations: 3.77 MB / 330.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.0944, allocations: 1.041 MB / 331.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.09462, allocations: 7.938 kB / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.09498, allocations: 83.44 kB / 331.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.09537, allocations: 174.6 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.09564, allocations: 119.9 kB / 331.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005989/0.09625, allocations: 0.669 MB / 332.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.09653, allocations: 187.5 kB / 332.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.09681, allocations: 250.9 kB / 333 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.0971, allocations: 286.8 kB / 333.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.101e-05/0.09718, allocations: 40 kB / 333.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.09727, allocations: 44 kB / 333.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.09738, allocations: 115.5 kB / 333.5 MB, free: 14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.09765, allocations: 302.5 kB / 333.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.09824, allocations: 0.6851 MB / 334.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09825, allocations: 0 / 334.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09826, allocations: 0 / 334.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.09828, allocations: 4 kB / 334.4 MB, free: 13.01 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.001565/0.09985, allocations: 0.917 MB / 335.4 MB, free: 12.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.0999, allocations: 12.03 kB / 335.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.1, allocations: 83.5 kB / 335.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.1001, allocations: 72.19 kB / 335.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.1007, allocations: 438.8 kB / 335.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.1009, allocations: 83.23 kB / 336 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.101, allocations: 44.3 kB / 336.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.1019, allocations: 0.5214 MB / 336.6 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1019, allocations: 4 kB / 336.6 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.102, allocations: 20 kB / 336.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.102, allocations: 8 kB / 336.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.1029, allocations: 375.7 kB / 337 MB, free: 10.29 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.002006/0.1049, allocations: 1.367 MB / 338.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/0.1057, allocations: 480.1 kB / 338.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004186/0.1062, allocations: 208.7 kB / 339 MB, free: 8.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.1062, allocations: 7.984 kB / 339 MB, free: 8.121 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1063, allocations: 38.56 kB / 339.1 MB, free: 8.074 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.1063, allocations: 0 / 339.1 MB, free: 8.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001634/0.1079, allocations: 0.7891 MB / 339.9 MB, free: 7.234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001903/0.1081, allocations: 444.9 kB / 340.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.1086, allocations: 478 kB / 340.8 MB, free: 6.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.1087, allocations: 37.7 kB / 340.8 MB, free: 6.172 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1088, allocations: 248.3 kB / 341 MB, free: 5.926 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.324e-05/0.1089, allocations: 130.1 kB / 341.2 MB, free: 5.797 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.109, allocations: 85.64 kB / 341.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1092, allocations: 358.8 kB / 341.6 MB, free: 5.348 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.1096, allocations: 151.9 kB / 341.8 MB, free: 5.199 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.1101, allocations: 310.1 kB / 342.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007634/0.1109, allocations: 375 kB / 342.4 MB, free: 4.465 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1109, allocations: 0 / 342.4 MB, free: 4.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009928/0.1119, allocations: 0.5114 MB / 342.9 MB, free: 3.934 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.1119, allocations: 37.69 kB / 343 MB, free: 3.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1119, allocations: 4.031 kB / 343 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.1121, allocations: 53.64 kB / 343 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.1125, allocations: 91.86 kB / 343.1 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.1146, allocations: 2.736 MB / 345.9 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.115, allocations: 63.62 kB / 345.9 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.1151, allocations: 15.94 kB / 345.9 MB, free: 0.6562 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.0002051/0.1153, allocations: 181.7 kB / 346.1 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.1154, allocations: 55.34 kB / 346.2 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.136e-05/0.1155, allocations: 52.94 kB / 346.2 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1155, allocations: 4 kB / 346.2 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1155, allocations: 0 / 346.2 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.1165, allocations: 0.7746 MB / 347 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.1181, allocations: 1.075 MB / 348.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1181, allocations: 0 / 348.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.1186, allocations: 99.86 kB / 348.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1186, allocations: 4 kB / 348.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.1186, allocations: 4 kB / 348.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1186, allocations: 7.938 kB / 348.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1186, allocations: 0 / 348.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.1199, allocations: 0.7063 MB / 348.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.1202, allocations: 172.4 kB / 349.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.1202, allocations: 8.062 kB / 349.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.1206, allocations: 55.77 kB / 349.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.1207, allocations: 19.97 kB / 349.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.1207, allocations: 8 kB / 349.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003508/0.1211, allocations: 338.9 kB / 349.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1211, allocations: 4 kB / 349.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004294/0.1215, allocations: 143.8 kB / 349.6 MB, free: 12.76 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.001555/0.1231, allocations: 1.263 MB / 350.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.1243, allocations: 0.676 MB / 351.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1243, allocations: 0 / 351.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.1248, allocations: 208.2 kB / 351.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007124/0.1255, allocations: 133.8 kB / 351.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006584/0.1321, allocations: 5.052 MB / 356.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1324, allocations: 0.8392 MB / 357.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002822/0.1327, allocations: 68.53 kB / 357.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.133, allocations: 179.4 kB / 358 MB, free: 4.148 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.133, allocations: 0 / 358 MB, free: 4.148 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.1603, allocations: 13.07 MB / 371.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.1605, allocations: 234.8 kB / 371.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.163, allocations: 0 / 371.3 MB, free: 6.77 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