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.001318/0.001318, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001791/0.001791, allocations: 192 kB / 18.51 MB, free: 4.508 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.386/1.386, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001119/0.001119, allocations: 55.92 kB / 280.8 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07814, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00505/0.08323, allocations: 3.74 MB / 331.1 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.08538, allocations: 1.041 MB / 332.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004831/0.08593, allocations: 7.938 kB / 332.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.08642, allocations: 115 kB / 332.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008337/0.08727, allocations: 194.3 kB / 332.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.08776, allocations: 143.8 kB / 332.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.08889, allocations: 0.6964 MB / 333.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.08931, allocations: 210.8 kB / 333.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.08982, allocations: 267 kB / 333.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.09035, allocations: 302.8 kB / 334.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.09051, allocations: 56 kB / 334.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.09071, allocations: 64 kB / 334.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.0909, allocations: 135.5 kB / 334.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.09141, allocations: 318.5 kB / 334.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008036/0.09222, allocations: 0.7085 MB / 335.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.09224, allocations: 3.984 kB / 335.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09224, allocations: 0 / 335.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.561e-05/0.09229, allocations: 0 / 335.3 MB, free: 12.37 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.002015/0.09431, allocations: 0.9092 MB / 336.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.09437, allocations: 16.02 kB / 336.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.09451, allocations: 75.62 kB / 336.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.09465, allocations: 68.19 kB / 336.4 MB, free: 11.24 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007359/0.09539, allocations: 450.7 kB / 336.8 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002717/0.09568, allocations: 79.23 kB / 336.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.09576, allocations: 36.38 kB / 337 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008811/0.09665, allocations: 0.5293 MB / 337.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.09668, allocations: 0 / 337.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.09673, allocations: 16 kB / 337.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.09674, allocations: 8 kB / 337.5 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/0.09771, allocations: 379.7 kB / 337.9 MB, free: 9.66 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.002533/0.1003, allocations: 1.37 MB / 339.3 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009597/0.1012, allocations: 472 kB / 339.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.1017, allocations: 208.7 kB / 339.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.1018, allocations: 7.984 kB / 339.9 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.1019, allocations: 38.56 kB / 340 MB, free: 7.449 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.1019, allocations: 4 kB / 340 MB, free: 7.445 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001794/0.1037, allocations: 0.7814 MB / 340.7 MB, free: 6.613 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.1039, allocations: 449 kB / 341.2 MB, free: 6.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.1044, allocations: 478 kB / 341.7 MB, free: 5.594 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.1045, allocations: 33.7 kB / 341.7 MB, free: 5.555 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.1048, allocations: 248.3 kB / 341.9 MB, free: 5.309 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1049, allocations: 134.1 kB / 342.1 MB, free: 5.176 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.105, allocations: 81.64 kB / 342.1 MB, free: 5.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.1053, allocations: 358.8 kB / 342.5 MB, free: 4.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.1057, allocations: 155.9 kB / 342.6 MB, free: 4.578 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.1063, allocations: 318 kB / 343 MB, free: 4.215 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.1071, allocations: 371.1 kB / 343.3 MB, free: 3.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1071, allocations: 0 / 343.3 MB, free: 3.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001167/0.1083, allocations: 0.5114 MB / 343.8 MB, free: 3.309 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.1083, allocations: 33.69 kB / 343.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1083, allocations: 0 / 343.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.1085, allocations: 53.64 kB / 343.9 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.1089, allocations: 103.8 kB / 344 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.1117, allocations: 2.961 MB / 347 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.1122, allocations: 63.69 kB / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.1123, allocations: 12 kB / 347 MB, free: 15.79 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.0002064/0.1125, allocations: 169.8 kB / 347.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.1126, allocations: 55.34 kB / 347.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.1127, allocations: 60.86 kB / 347.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1127, allocations: 4 kB / 347.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1127, allocations: 4 kB / 347.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.1137, allocations: 0.7668 MB / 348.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.1155, allocations: 1.071 MB / 349.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1155, allocations: 0 / 349.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.116, allocations: 103.9 kB / 349.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.116, allocations: 240 / 349.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.1161, allocations: 8 kB / 349.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1161, allocations: 0 / 349.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1161, allocations: 0 / 349.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.1176, allocations: 0.7217 MB / 350 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.118, allocations: 172.4 kB / 350.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.118, allocations: 8 kB / 350.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.1184, allocations: 31.97 kB / 350.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.1185, allocations: 27.95 kB / 350.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.1186, allocations: 12 kB / 350.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003882/0.119, allocations: 338.9 kB / 350.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.119, allocations: 0 / 350.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.1195, allocations: 151.7 kB / 350.7 MB, free: 11.9 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.001737/0.1212, allocations: 1.262 MB / 352 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.1226, allocations: 0.6917 MB / 352.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1226, allocations: 0 / 352.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.1231, allocations: 208.1 kB / 352.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.1238, allocations: 145.8 kB / 353 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007411/0.1312, allocations: 4.907 MB / 357.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.1317, allocations: 0.8315 MB / 358.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.132, allocations: 68.53 kB / 358.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.1323, allocations: 183.4 kB / 359 MB, free: 3.418 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1323, allocations: 0 / 359 MB, free: 3.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05028/0.1826, allocations: 13.84 MB / 372.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.13, allocations: 8.906 kB / 372.9 MB, free: 5.488 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches