Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.52 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1025, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.006011/0.1086, allocations: 3.75 MB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1109, allocations: 1.032 MB / 362.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.1114, allocations: 7.938 kB / 362.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.1119, allocations: 115 kB / 362.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007323/0.1127, allocations: 198.3 kB / 362.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.1131, allocations: 143.8 kB / 362.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.1142, allocations: 0.6964 MB / 363.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.1146, allocations: 207 kB / 363.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004562/0.115, allocations: 263 kB / 364 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.1155, allocations: 310.7 kB / 364.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.1157, allocations: 59.94 kB / 364.3 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.1159, allocations: 64 kB / 364.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1161, allocations: 127.6 kB / 364.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004624/0.1166, allocations: 318.5 kB / 364.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.1175, allocations: 0.7085 MB / 365.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1175, allocations: 3.938 kB / 365.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1175, allocations: 0 / 365.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.1176, allocations: 4 kB / 365.5 MB, free: 5.98 MB / 302.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.001974/0.1196, allocations: 0.9208 MB / 366.5 MB, free: 5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.1196, allocations: 8.031 kB / 366.5 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.1198, allocations: 79.7 kB / 366.6 MB, free: 4.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.12, allocations: 68.19 kB / 366.6 MB, free: 4.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007818/0.1208, allocations: 438.8 kB / 367.1 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.121, allocations: 87.22 kB / 367.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.1211, allocations: 36.38 kB / 367.2 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/0.1221, allocations: 0.5175 MB / 367.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1221, allocations: 4 kB / 367.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.1221, allocations: 16 kB / 367.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1222, allocations: 8 kB / 367.7 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009709/0.1231, allocations: 379.7 kB / 368.1 MB, free: 3.273 MB / 302.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.002351/0.1255, allocations: 1.378 MB / 369.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1265, allocations: 472.4 kB / 369.9 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.127, allocations: 212.4 kB / 370.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.1271, allocations: 4 kB / 370.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.1271, allocations: 42.5 kB / 370.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.754e-06/0.1271, allocations: 0 / 370.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001882/0.129, allocations: 0.7823 MB / 371 MB, free: 228 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1682/0.2972, allocations: 446.4 kB / 371.4 MB, free: 20.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008288/0.2981, allocations: 472.8 kB / 371.9 MB, free: 20 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.2983, allocations: 36.11 kB / 371.9 MB, free: 19.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.2985, allocations: 249.8 kB / 372.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.2986, allocations: 130 kB / 372.3 MB, free: 19.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.2988, allocations: 87.41 kB / 372.4 MB, free: 19.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.299, allocations: 359 kB / 372.7 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.2995, allocations: 152.5 kB / 372.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.3001, allocations: 304.4 kB / 373.1 MB, free: 19.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000972/0.3011, allocations: 379.4 kB / 373.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3011, allocations: 0.6094 kB / 373.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001262/0.3024, allocations: 0.5137 MB / 374 MB, free: 19.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.3024, allocations: 33.42 kB / 374.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3024, allocations: 0 / 374.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.3026, allocations: 54.3 kB / 374.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.3031, allocations: 94.3 kB / 374.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.3052, allocations: 2.96 MB / 377.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.3057, allocations: 60.03 kB / 377.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.3058, allocations: 9.422 kB / 377.2 MB, free: 16.15 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.0002258/0.306, allocations: 187.1 kB / 377.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.3061, allocations: 59.61 kB / 377.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.775e-05/0.3062, allocations: 56.94 kB / 377.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3062, allocations: 7.188 kB / 377.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3062, allocations: 1.375 kB / 377.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009384/0.3072, allocations: 0.766 MB / 378.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.3089, allocations: 1.07 MB / 379.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3089, allocations: 4.844 kB / 379.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.3094, allocations: 94.22 kB / 379.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3094, allocations: 1.375 kB / 379.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.3095, allocations: 11.92 kB / 379.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3095, allocations: 1.375 kB / 379.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3095, allocations: 4.391 kB / 379.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3108, allocations: 0.7158 MB / 380.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.311, allocations: 178.7 kB / 380.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.758e-05/0.3111, allocations: 7.219 kB / 380.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.3115, allocations: 40.14 kB / 380.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.3115, allocations: 24.33 kB / 380.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3116, allocations: 8.578 kB / 380.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003406/0.3119, allocations: 340 kB / 380.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3119, allocations: 1.312 kB / 380.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004675/0.3124, allocations: 139.4 kB / 380.9 MB, free: 13.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.001704/0.3141, allocations: 1.272 MB / 382.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.3156, allocations: 0.6951 MB / 382.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3156, allocations: 1.156 kB / 382.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.316, allocations: 197.3 kB / 383.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.3168, allocations: 143.1 kB / 383.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006999/0.3238, allocations: 4.895 MB / 388.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3241, allocations: 0.8404 MB / 389 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003414/0.3245, allocations: 68.12 kB / 389 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.3247, allocations: 181.8 kB / 389.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3247, allocations: 3.5 kB / 389.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/0.3618, allocations: 13.85 MB / 403.1 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.67, allocations: 15.61 kB / 403.1 MB, free: 0.9531 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches