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.001215/0.001215, allocations: 106.6 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.58 kB / 306.6 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.08815, allocations: 50.52 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004658/0.09285, allocations: 3.794 MB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.09467, allocations: 1.024 MB / 361.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.09509, allocations: 8 kB / 361.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.09555, allocations: 95.36 kB / 362 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.09616, allocations: 174.6 kB / 362.2 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.09652, allocations: 115.9 kB / 362.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008587/0.09739, allocations: 0.7081 MB / 363 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.09772, allocations: 199 kB / 363.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.09815, allocations: 263.1 kB / 363.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.09861, allocations: 306.6 kB / 363.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.09875, allocations: 60 kB / 363.8 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.09889, allocations: 64 kB / 363.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.099, allocations: 131.6 kB / 364 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00032/0.09933, allocations: 330.4 kB / 364.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.09993, allocations: 0.7046 MB / 365 MB, free: 6.344 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.09994, allocations: 0 / 365 MB, free: 6.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09995, allocations: 0 / 365 MB, free: 6.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.09997, allocations: 0 / 365 MB, free: 6.344 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.001584/0.1016, allocations: 0.9169 MB / 365.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1016, allocations: 12.03 kB / 365.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.1017, allocations: 75.72 kB / 366 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1019, allocations: 68.19 kB / 366.1 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.1025, allocations: 442.8 kB / 366.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.1027, allocations: 83.22 kB / 366.6 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.1028, allocations: 40.31 kB / 366.6 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/0.1037, allocations: 0.5137 MB / 367.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1037, allocations: 0 / 367.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.1038, allocations: 23.98 kB / 367.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1038, allocations: 8 kB / 367.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/0.1047, allocations: 383.7 kB / 367.6 MB, free: 3.633 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.002061/0.1067, allocations: 1.37 MB / 368.9 MB, free: 2.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/0.1076, allocations: 468.1 kB / 369.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/0.1081, allocations: 204.8 kB / 369.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.1081, allocations: 4 kB / 369.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1082, allocations: 43.12 kB / 369.6 MB, free: 1.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.1082, allocations: 0 / 369.6 MB, free: 1.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001629/0.1098, allocations: 0.7859 MB / 370.4 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.11, allocations: 448.9 kB / 370.9 MB, free: 48 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1287/0.2387, allocations: 472.6 kB / 371.3 MB, free: 20.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.2388, allocations: 36.77 kB / 371.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.239, allocations: 251.9 kB / 371.6 MB, free: 20.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.2391, allocations: 129.5 kB / 371.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.2392, allocations: 79.03 kB / 371.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.2393, allocations: 362.5 kB / 372.2 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.2397, allocations: 153.8 kB / 372.3 MB, free: 20.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.2402, allocations: 301.3 kB / 372.6 MB, free: 19.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/0.241, allocations: 380.3 kB / 373 MB, free: 19.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.241, allocations: 0 / 373 MB, free: 19.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001001/0.242, allocations: 0.5172 MB / 373.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.242, allocations: 32.19 kB / 373.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2421, allocations: 1.031 kB / 373.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.2422, allocations: 55.62 kB / 373.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.2426, allocations: 95.02 kB / 373.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.2444, allocations: 2.957 MB / 376.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.2448, allocations: 65.34 kB / 376.7 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.2448, allocations: 14 kB / 376.7 MB, free: 16.75 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.0001628/0.245, allocations: 179.2 kB / 376.9 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.2451, allocations: 59.5 kB / 376.9 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.895e-05/0.2452, allocations: 57.69 kB / 377 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2452, allocations: 5.906 kB / 377 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2452, allocations: 4.984 kB / 377 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000833/0.246, allocations: 0.7626 MB / 377.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.2475, allocations: 1.076 MB / 378.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2475, allocations: 0 / 378.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.248, allocations: 93.25 kB / 378.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.248, allocations: 11.12 kB / 378.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.248, allocations: 9.984 kB / 379 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.248, allocations: 1.891 kB / 379 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.248, allocations: 1.375 kB / 379 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2492, allocations: 0.7098 MB / 379.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.2493, allocations: 170.6 kB / 379.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.2494, allocations: 8.406 kB / 379.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.2498, allocations: 40.86 kB / 379.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.2499, allocations: 29.53 kB / 379.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.2499, allocations: 12.98 kB / 379.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.2502, allocations: 340.8 kB / 380.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2502, allocations: 0 / 380.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.2506, allocations: 143.8 kB / 380.4 MB, free: 14.55 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.001384/0.252, allocations: 1.269 MB / 381.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.2532, allocations: 0.6923 MB / 382.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2532, allocations: 1.312 kB / 382.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.2536, allocations: 199.3 kB / 382.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.2542, allocations: 140.2 kB / 382.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.2603, allocations: 5.064 MB / 387.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.2606, allocations: 0.8413 MB / 388.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.2609, allocations: 65.27 kB / 388.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.2611, allocations: 181.4 kB / 388.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2611, allocations: 0 / 388.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.229/2.49, allocations: 13.55 MB / 402.4 MB, free: 1.797 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/2.49, allocations: 243.1 kB / 402.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/4.901, allocations: 3.938 kB / 402.6 MB, free: 1.531 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