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.001012/0.001012, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 55.78 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1136, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005962/0.1197, allocations: 3.76 MB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.122, allocations: 1.028 MB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/0.1225, allocations: 7.938 kB / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.1231, allocations: 115 kB / 362.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.1238, allocations: 190.3 kB / 362.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.1243, allocations: 143.8 kB / 362.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009269/0.1252, allocations: 0.7003 MB / 363.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.1256, allocations: 211 kB / 363.7 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.1261, allocations: 267 kB / 364 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.1266, allocations: 306.6 kB / 364.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.1267, allocations: 60 kB / 364.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1269, allocations: 64 kB / 364.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.127, allocations: 127.6 kB / 364.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.1274, allocations: 322.5 kB / 364.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.1282, allocations: 0.7085 MB / 365.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1282, allocations: 3.984 kB / 365.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1282, allocations: 0 / 365.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.1282, allocations: 3.938 kB / 365.6 MB, free: 6 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.001683/0.1299, allocations: 0.9091 MB / 366.5 MB, free: 5.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.13, allocations: 16.02 kB / 366.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.1301, allocations: 75.72 kB / 366.6 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1302, allocations: 68.19 kB / 366.6 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007326/0.131, allocations: 442.8 kB / 367.1 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.1312, allocations: 79.23 kB / 367.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.1313, allocations: 36.38 kB / 367.2 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.1322, allocations: 0.5214 MB / 367.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1322, allocations: 0 / 367.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/0.1323, allocations: 20 kB / 367.7 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1323, allocations: 8 kB / 367.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009387/0.1333, allocations: 379.7 kB / 368.1 MB, free: 3.301 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.002263/0.1355, allocations: 1.378 MB / 369.5 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.1365, allocations: 469.8 kB / 369.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.137, allocations: 212.7 kB / 370.1 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.137, allocations: 8 kB / 370.1 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.137, allocations: 38.56 kB / 370.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.284e-06/0.1371, allocations: 4 kB / 370.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001773/0.1388, allocations: 0.7786 MB / 371 MB, free: 252 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1943/0.3331, allocations: 445 kB / 371.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.334, allocations: 475.4 kB / 371.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.3342, allocations: 33.48 kB / 371.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.3344, allocations: 247.7 kB / 372.1 MB, free: 20 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.3345, allocations: 131.5 kB / 372.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.3347, allocations: 80.34 kB / 372.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3348, allocations: 358.9 kB / 372.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.3354, allocations: 155.8 kB / 372.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.336, allocations: 307.6 kB / 373.1 MB, free: 19.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/0.3369, allocations: 378.8 kB / 373.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.337, allocations: 1.094 kB / 373.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001243/0.3382, allocations: 0.5107 MB / 374 MB, free: 19.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.3383, allocations: 36.36 kB / 374.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3383, allocations: 1.359 kB / 374.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.3385, allocations: 57 kB / 374.1 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.3389, allocations: 89.42 kB / 374.2 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.341, allocations: 2.963 MB / 377.2 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3415, allocations: 61.19 kB / 377.2 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.3416, allocations: 13.67 kB / 377.2 MB, free: 16.26 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.0002184/0.3418, allocations: 174 kB / 377.4 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3419, allocations: 61.83 kB / 377.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.342, allocations: 58.03 kB / 377.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.342, allocations: 4 kB / 377.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.342, allocations: 2.344 kB / 377.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009751/0.343, allocations: 0.7705 MB / 378.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.3448, allocations: 1.075 MB / 379.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3448, allocations: 3.938 kB / 379.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.3452, allocations: 95.55 kB / 379.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3453, allocations: 5.078 kB / 379.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.3453, allocations: 7.984 kB / 379.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3453, allocations: 9.344 kB / 379.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3453, allocations: 0 / 379.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.3467, allocations: 0.7136 MB / 380.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.3469, allocations: 171.5 kB / 380.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-05/0.347, allocations: 10.86 kB / 380.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.3474, allocations: 34.08 kB / 380.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.3475, allocations: 24.23 kB / 380.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.3475, allocations: 6.703 kB / 380.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004029/0.3479, allocations: 342.8 kB / 380.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3479, allocations: 4.062 kB / 380.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004682/0.3484, allocations: 143.4 kB / 380.9 MB, free: 14.07 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.001601/0.35, allocations: 1.272 MB / 382.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.3513, allocations: 0.6876 MB / 382.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3514, allocations: 1.406 kB / 382.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.3518, allocations: 200.2 kB / 383.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.3526, allocations: 140.5 kB / 383.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006727/0.3593, allocations: 4.907 MB / 388.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3597, allocations: 0.8383 MB / 389 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003535/0.3601, allocations: 67.12 kB / 389 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.3603, allocations: 180.6 kB / 389.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3603, allocations: 0.9688 kB / 389.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04142/0.4017, allocations: 13.85 MB / 403.1 MB, free: 1.141 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.52, allocations: 23.36 kB / 403.1 MB, free: 1.125 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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