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.0008273/0.0008273, allocations: 93.84 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 203.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001897/0.0001895, allocations: 8 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0817/0.08191, allocations: 51.52 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003573/0.08552, allocations: 3.401 MB / 362.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.08719, allocations: 0.9659 MB / 363.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.08749, allocations: 11.94 kB / 363.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.08781, allocations: 87.36 kB / 363.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.08831, allocations: 170.7 kB / 364 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.0886, allocations: 123.8 kB / 364.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.08933, allocations: 0.6769 MB / 364.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.08961, allocations: 179.8 kB / 365 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.08993, allocations: 243 kB / 365.2 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.0903, allocations: 282.6 kB / 365.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.09039, allocations: 36 kB / 365.5 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.09049, allocations: 36 kB / 365.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.09059, allocations: 107.6 kB / 365.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.0909, allocations: 312.2 kB / 366 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.09151, allocations: 0.6771 MB / 366.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.09153, allocations: 0 / 366.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.09154, allocations: 4 kB / 366.6 MB, free: 5.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.418e-05/0.09157, allocations: 3.938 kB / 366.6 MB, free: 5.879 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.001539/0.09311, allocations: 0.8237 MB / 367.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.09316, allocations: 8.031 kB / 367.5 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.09331, allocations: 87.61 kB / 367.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.09348, allocations: 68.19 kB / 367.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.09422, allocations: 446.8 kB / 368.1 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.09443, allocations: 83.23 kB / 368.1 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.0945, allocations: 40.38 kB / 368.2 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009182/0.09543, allocations: 0.537 MB / 368.7 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.09545, allocations: 0 / 368.7 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.0955, allocations: 16 kB / 368.7 MB, free: 3.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.09552, allocations: 12 kB / 368.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009545/0.09648, allocations: 403.7 kB / 369.1 MB, free: 3.211 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.002127/0.09862, allocations: 1.366 MB / 370.5 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/0.09953, allocations: 490.4 kB / 371 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.1, allocations: 220.7 kB / 371.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1, allocations: 4 kB / 371.2 MB, free: 1.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1001, allocations: 38.56 kB / 371.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/0.1001, allocations: 0.5625 kB / 371.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001731/0.1018, allocations: 0.821 MB / 372.1 MB, free: 108 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1357/0.2376, allocations: 442.3 kB / 372.5 MB, free: 18.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006384/0.2382, allocations: 475.1 kB / 373 MB, free: 18.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/0.2383, allocations: 34.95 kB / 373 MB, free: 18.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.2385, allocations: 245.9 kB / 373.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.2386, allocations: 136.1 kB / 373.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.2386, allocations: 34.86 kB / 373.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.2387, allocations: 359.8 kB / 373.7 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.2391, allocations: 169.5 kB / 373.9 MB, free: 18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.2396, allocations: 319 kB / 374.2 MB, free: 17.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.2405, allocations: 399.2 kB / 374.6 MB, free: 17.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2405, allocations: 3.828 kB / 374.6 MB, free: 17.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001078/0.2416, allocations: 0.5325 MB / 375.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.2416, allocations: 32.58 kB / 375.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2417, allocations: 2.531 kB / 375.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.2418, allocations: 53.72 kB / 375.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.2422, allocations: 97.44 kB / 375.3 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.2439, allocations: 2.738 MB / 378.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.2443, allocations: 69.72 kB / 378.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.2444, allocations: 16.55 kB / 378.2 MB, free: 15.11 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.000189/0.2446, allocations: 180.3 kB / 378.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.2447, allocations: 56.22 kB / 378.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2448, allocations: 56.56 kB / 378.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2448, allocations: 4.125 kB / 378.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2448, allocations: 1.453 kB / 378.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009477/0.2457, allocations: 0.786 MB / 379.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.2473, allocations: 1.101 MB / 380.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2473, allocations: 1.391 kB / 380.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.2478, allocations: 108.4 kB / 380.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2478, allocations: 4.828 kB / 380.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.2478, allocations: 11.97 kB / 380.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2478, allocations: 1.953 kB / 380.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2478, allocations: 0 / 380.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.2491, allocations: 0.7455 MB / 381.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.2493, allocations: 173.4 kB / 381.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.2493, allocations: 12.94 kB / 381.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.2497, allocations: 44.75 kB / 381.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.2498, allocations: 24.84 kB / 381.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2498, allocations: 7.859 kB / 381.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.2501, allocations: 344.2 kB / 381.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2501, allocations: 0.9688 kB / 381.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.2506, allocations: 139.8 kB / 381.9 MB, free: 13.25 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.001479/0.2521, allocations: 1.304 MB / 383.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.2532, allocations: 0.6919 MB / 383.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2532, allocations: 1.031 kB / 383.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.2536, allocations: 205.7 kB / 384.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.2543, allocations: 131.9 kB / 384.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/0.2607, allocations: 5.197 MB / 389.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2609, allocations: 0.8363 MB / 390.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.2612, allocations: 65.98 kB / 390.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.2614, allocations: 180.4 kB / 390.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2615, allocations: 0 / 390.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.2845, allocations: 12.91 MB / 403.5 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.2847, allocations: 241.5 kB / 403.7 MB, free: 496 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.29, allocations: 3.938 kB / 403.7 MB, free: 492 kB / 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