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.00144/0.00144, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002196/0.002196, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2267, allocations: 50.55 MB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004179/0.2309, allocations: 3.765 MB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.2323, allocations: 1.022 MB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.2325, allocations: 7.938 kB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.2328, allocations: 107.1 kB / 413.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.2332, allocations: 202.3 kB / 413.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2334, allocations: 139.8 kB / 414 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006209/0.2341, allocations: 0.7042 MB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.2344, allocations: 210.8 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.2346, allocations: 267 kB / 415.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.2349, allocations: 314.6 kB / 415.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-05/0.235, allocations: 60 kB / 415.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.2351, allocations: 60 kB / 415.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2352, allocations: 127.6 kB / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.2355, allocations: 318.5 kB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.2361, allocations: 0.7163 MB / 416.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2361, allocations: 0 / 416.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2361, allocations: 0 / 416.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2361, allocations: 3.938 kB / 416.7 MB, free: 9.492 MB / 334.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.001458/0.2376, allocations: 0.9208 MB / 417.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2376, allocations: 11.97 kB / 417.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.2378, allocations: 87.61 kB / 417.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2379, allocations: 64.19 kB / 417.8 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.2386, allocations: 446.8 kB / 418.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.673e-05/0.2387, allocations: 59.27 kB / 418.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.2387, allocations: 40.36 kB / 418.3 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008564/0.2396, allocations: 0.5058 MB / 418.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2396, allocations: 0 / 418.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.2397, allocations: 20 kB / 418.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2397, allocations: 12 kB / 418.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.2405, allocations: 351.8 kB / 419.2 MB, free: 6.832 MB / 334.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.001869/0.2423, allocations: 1.355 MB / 420.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.2432, allocations: 458.9 kB / 421 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.2436, allocations: 188.8 kB / 421.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.2436, allocations: 7.984 kB / 421.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2436, allocations: 42.31 kB / 421.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.422e-06/0.2436, allocations: 4 kB / 421.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001461/0.2451, allocations: 0.7393 MB / 422 MB, free: 3.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.2453, allocations: 448.9 kB / 422.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.2458, allocations: 478 kB / 422.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2458, allocations: 33.7 kB / 422.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.246, allocations: 244.4 kB / 423.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.2461, allocations: 130.1 kB / 423.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.2463, allocations: 81.64 kB / 423.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2464, allocations: 362.8 kB / 423.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.2468, allocations: 139.9 kB / 423.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.2472, allocations: 290.5 kB / 424.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.2479, allocations: 358.5 kB / 424.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2479, allocations: 0 / 424.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009074/0.2488, allocations: 499.8 kB / 425 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.2489, allocations: 37.67 kB / 425 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2489, allocations: 0 / 425 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.2491, allocations: 57.62 kB / 425.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.2495, allocations: 87.88 kB / 425.2 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.2517, allocations: 2.957 MB / 428.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.2521, allocations: 51.7 kB / 428.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.2522, allocations: 12 kB / 428.2 MB, free: 13.15 MB / 350.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.0001952/0.2524, allocations: 181.7 kB / 428.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.2525, allocations: 55.34 kB / 428.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.2526, allocations: 60.81 kB / 428.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2526, allocations: 4 kB / 428.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2526, allocations: 3.984 kB / 428.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008946/0.2535, allocations: 0.7398 MB / 429.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.2551, allocations: 1.052 MB / 430.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2551, allocations: 4 kB / 430.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.2555, allocations: 87.88 kB / 430.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2555, allocations: 0 / 430.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.2556, allocations: 8 kB / 430.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.2556, allocations: 8.062 kB / 430.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2556, allocations: 3.984 kB / 430.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.2568, allocations: 0.6799 MB / 431.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.257, allocations: 168.5 kB / 431.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.2571, allocations: 8 kB / 431.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.2575, allocations: 32.27 kB / 431.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.2576, allocations: 27.95 kB / 431.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2576, allocations: 8 kB / 431.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.2579, allocations: 338.9 kB / 431.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2579, allocations: 0 / 431.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.2584, allocations: 143.8 kB / 431.8 MB, free: 9.344 MB / 350.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.001505/0.2599, allocations: 1.223 MB / 433 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.2611, allocations: 0.6611 MB / 433.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2611, allocations: 0 / 433.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.2615, allocations: 191.5 kB / 433.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.2621, allocations: 145.7 kB / 434 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006659/0.2688, allocations: 4.64 MB / 438.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.2693, allocations: 0.839 MB / 439.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002449/0.2695, allocations: 64.53 kB / 439.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.2698, allocations: 183.4 kB / 439.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2698, allocations: 3.938 kB / 439.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.3075, allocations: 14.3 MB / 454 MB, free: 3.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.74, allocations: 4.953 kB / 454 MB, free: 3.172 MB / 366.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