Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_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.001068/0.001068, allocations: 102.4 kB / 16.5 MB, free: 6.648 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.001104/0.001104, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 241.1 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009086/0.0009086, allocations: 43.16 kB / 300.1 MB, free: 5.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07648/0.0774, allocations: 49.45 MB / 349.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004201/0.08164, allocations: 3.766 MB / 353.3 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.08323, allocations: 0.993 MB / 354.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.08354, allocations: 8 kB / 354.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.08388, allocations: 91.36 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.08431, allocations: 178.6 kB / 354.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.08458, allocations: 111.9 kB / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.08522, allocations: 0.6745 MB / 355.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.08547, allocations: 191.8 kB / 355.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.08573, allocations: 243 kB / 355.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.08599, allocations: 298.6 kB / 356 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.231e-05/0.08606, allocations: 40 kB / 356.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-05/0.08615, allocations: 40 kB / 356.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.54e-05/0.08625, allocations: 111.6 kB / 356.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.0865, allocations: 310.4 kB / 356.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.087, allocations: 0.6851 MB / 357.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.08702, allocations: 3.938 kB / 357.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.08702, allocations: 0 / 357.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.08703, allocations: 4 kB / 357.2 MB, free: 12.75 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.00133/0.08837, allocations: 0.917 MB / 358.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.08841, allocations: 8.031 kB / 358.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.878e-05/0.08851, allocations: 79.62 kB / 358.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.08862, allocations: 68.19 kB / 358.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.08918, allocations: 442.7 kB / 358.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.08937, allocations: 87.22 kB / 358.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.08943, allocations: 36.38 kB / 358.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008229/0.09026, allocations: 0.5215 MB / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.09028, allocations: 0 / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.09032, allocations: 16 kB / 359.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.09033, allocations: 15.94 kB / 359.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.09118, allocations: 379.7 kB / 359.8 MB, free: 10.04 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.001788/0.09298, allocations: 1.367 MB / 361.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/0.09382, allocations: 464.7 kB / 361.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/0.09424, allocations: 208.7 kB / 361.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.09428, allocations: 4 kB / 361.8 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.09431, allocations: 42.5 kB / 361.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.392e-06/0.09431, allocations: 0 / 361.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001558/0.09588, allocations: 0.7857 MB / 362.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.09604, allocations: 445 kB / 363.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.09654, allocations: 478 kB / 363.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.09658, allocations: 41.7 kB / 363.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.09675, allocations: 248.3 kB / 363.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.09684, allocations: 122.2 kB / 363.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.09697, allocations: 85.53 kB / 364 MB, free: 5.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.0971, allocations: 358.8 kB / 364.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.09749, allocations: 167.8 kB / 364.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.09799, allocations: 310.3 kB / 364.8 MB, free: 4.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007608/0.09875, allocations: 374.8 kB / 365.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.09877, allocations: 0 / 365.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009838/0.09976, allocations: 0.5078 MB / 365.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.09979, allocations: 33.69 kB / 365.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.09981, allocations: 11.88 kB / 365.8 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.09994, allocations: 49.64 kB / 365.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.1004, allocations: 99.86 kB / 365.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.1024, allocations: 2.732 MB / 368.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.1028, allocations: 63.69 kB / 368.7 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.1029, allocations: 12 kB / 368.7 MB, free: 428 kB / 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.0002215/0.1031, allocations: 177.7 kB / 368.9 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-05/0.1032, allocations: 55.34 kB / 368.9 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.026e-05/0.1033, allocations: 56.94 kB / 369 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1033, allocations: 4 kB / 369 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1033, allocations: 0 / 369 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1352/0.2386, allocations: 0.7566 MB / 369.7 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.2403, allocations: 1.076 MB / 370.8 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2403, allocations: 2.969 kB / 370.8 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.2408, allocations: 99.89 kB / 370.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2408, allocations: 2.406 kB / 370.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.2409, allocations: 12.47 kB / 370.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2409, allocations: 4.75 kB / 370.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2409, allocations: 0 / 370.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.2422, allocations: 0.7077 MB / 371.6 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.2423, allocations: 170.8 kB / 371.8 MB, free: 24.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.2424, allocations: 14.39 kB / 371.8 MB, free: 24.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.2428, allocations: 39.44 kB / 371.9 MB, free: 24.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.2429, allocations: 22.19 kB / 371.9 MB, free: 24.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.2429, allocations: 9.719 kB / 371.9 MB, free: 24.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.2433, allocations: 340.2 kB / 372.2 MB, free: 24.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2433, allocations: 0 / 372.2 MB, free: 24.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.2437, allocations: 148.3 kB / 372.4 MB, free: 24.42 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.001474/0.2452, allocations: 1.273 MB / 373.7 MB, free: 23.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.2463, allocations: 0.6758 MB / 374.3 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2463, allocations: 1.094 kB / 374.3 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.2467, allocations: 199.6 kB / 374.5 MB, free: 23.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.2474, allocations: 133.2 kB / 374.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/0.2534, allocations: 5.062 MB / 379.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.2536, allocations: 0.8414 MB / 380.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.2539, allocations: 66.66 kB / 380.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.2541, allocations: 181 kB / 380.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2541, allocations: 0 / 380.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.405/1.659, allocations: 13.05 MB / 393.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/1.659, allocations: 234.3 kB / 394.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/3.618, allocations: 3.938 kB / 394.1 MB, free: 13.19 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches