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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 59.91 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09234, allocations: 53.32 MB / 426.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004852/0.09719, allocations: 3.787 MB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.09889, allocations: 1.036 MB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.09908, allocations: 4 kB / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.09939, allocations: 111 kB / 431.6 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1778/0.2772, allocations: 199.8 kB / 431.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.2776, allocations: 138.9 kB / 431.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007724/0.2784, allocations: 0.7059 MB / 432.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.2786, allocations: 137.2 kB / 432.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.2789, allocations: 270.9 kB / 433 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.2792, allocations: 307.8 kB / 433.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.2792, allocations: 60.72 kB / 433.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.2793, allocations: 60.25 kB / 433.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.2794, allocations: 130.9 kB / 433.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.2796, allocations: 326.6 kB / 433.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.2802, allocations: 0.715 MB / 434.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2802, allocations: 0 / 434.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2802, allocations: 0 / 434.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.2802, allocations: 0.8438 kB / 434.6 MB, free: 7.309 MB / 350.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.001379/0.2816, allocations: 0.9324 MB / 435.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2816, allocations: 12.62 kB / 435.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.2817, allocations: 84.34 kB / 435.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2818, allocations: 68.97 kB / 435.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.2825, allocations: 449.3 kB / 436.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-05/0.2825, allocations: 60.81 kB / 436.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.2826, allocations: 34.52 kB / 436.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.2834, allocations: 0.5104 MB / 436.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.2834, allocations: 0 / 436.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.2834, allocations: 18.19 kB / 436.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.2835, allocations: 9.562 kB / 436.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/0.2842, allocations: 354.8 kB / 437.1 MB, free: 6.145 MB / 350.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.001967/0.2862, allocations: 1.364 MB / 438.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/0.287, allocations: 436.3 kB / 438.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.2874, allocations: 177 kB / 439.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.2874, allocations: 12.52 kB / 439.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2874, allocations: 42.12 kB / 439.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.2874, allocations: 0 / 439.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001448/0.2889, allocations: 0.7422 MB / 439.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.289, allocations: 449.2 kB / 440.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.2895, allocations: 476.5 kB / 440.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.2895, allocations: 34.23 kB / 440.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.2896, allocations: 255.2 kB / 441.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.2897, allocations: 132.2 kB / 441.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.2898, allocations: 76.97 kB / 441.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.2899, allocations: 362.6 kB / 441.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.2902, allocations: 140.8 kB / 441.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.2906, allocations: 293.9 kB / 442 MB, free: 2.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.2913, allocations: 358.1 kB / 442.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2913, allocations: 0.75 kB / 442.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009845/0.2923, allocations: 496.7 kB / 442.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.2923, allocations: 32.39 kB / 442.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2923, allocations: 0.5938 kB / 442.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.2925, allocations: 55.03 kB / 443 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.2929, allocations: 91.28 kB / 443.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.2948, allocations: 2.954 MB / 446 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.2953, allocations: 58.14 kB / 446.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.2953, allocations: 14.66 kB / 446.1 MB, free: 15.58 MB / 366.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.0002267/0.2955, allocations: 169.8 kB / 446.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.2956, allocations: 55.67 kB / 446.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.2958, allocations: 65.09 kB / 446.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2958, allocations: 4.375 kB / 446.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.2958, allocations: 0 / 446.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009984/0.2968, allocations: 0.7415 MB / 447.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.2986, allocations: 1.052 MB / 448.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2986, allocations: 0.7031 kB / 448.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.299, allocations: 95.61 kB / 448.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.299, allocations: 0.9688 kB / 448.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.2991, allocations: 10.83 kB / 448.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2991, allocations: 1.797 kB / 448.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2991, allocations: 5.094 kB / 448.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.3004, allocations: 0.6802 MB / 449 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.3006, allocations: 172.8 kB / 449.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.3007, allocations: 7.562 kB / 449.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.301, allocations: 30.89 kB / 449.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.3011, allocations: 23.75 kB / 449.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3011, allocations: 7.984 kB / 449.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004199/0.3016, allocations: 340.8 kB / 449.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3016, allocations: 4.062 kB / 449.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.302, allocations: 144.1 kB / 449.7 MB, free: 13.38 MB / 366.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.001574/0.3036, allocations: 1.228 MB / 450.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3048, allocations: 0.6426 MB / 451.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3048, allocations: 1.188 kB / 451.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.3052, allocations: 172.6 kB / 451.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.3059, allocations: 149.2 kB / 451.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/0.3128, allocations: 4.668 MB / 456.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.3133, allocations: 0.8416 MB / 457.4 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.3136, allocations: 66.16 kB / 457.4 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.3139, allocations: 182.2 kB / 457.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3139, allocations: 0 / 457.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/0.3594, allocations: 14.1 MB / 471.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.19, allocations: 0 / 471.7 MB, free: 2.18 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.503463205881417]