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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007848/0.0007848, allocations: 104.5 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002031/0.0002031, allocations: 11.98 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1905, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0888/0.2794, allocations: 82.14 MB / 491.6 MB, free: 8.445 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.2796, allocations: 71.97 kB / 491.6 MB, free: 8.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02519/0.3048, allocations: 10.28 MB / 0.4901 GB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3048, allocations: 4 kB / 0.4901 GB, free: 14.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.227e-05/0.3049, allocations: 12 kB / 0.4902 GB, free: 14 MB / 378.7 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.00142/0.3063, allocations: 0.839 MB / 0.491 GB, free: 13.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3064, allocations: 16.02 kB / 0.491 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.3065, allocations: 63.25 kB / 0.4911 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.3071, allocations: 390.4 kB / 0.4914 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-05/0.3072, allocations: 62.64 kB / 0.4915 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.3072, allocations: 32 kB / 0.4915 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008258/0.3081, allocations: 0.5172 MB / 0.492 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3081, allocations: 3.906 kB / 0.492 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.3081, allocations: 16 kB / 0.492 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3082, allocations: 11.98 kB / 0.4921 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.309, allocations: 395.7 kB / 0.4924 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.3112, allocations: 1.34 MB / 0.4937 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3123, allocations: 0.5024 MB / 0.4942 GB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.3123, allocations: 7.984 kB / 0.4942 GB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3123, allocations: 38.56 kB / 0.4943 GB, free: 9.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.156e-06/0.3124, allocations: 0 / 0.4943 GB, free: 9.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.001629/0.314, allocations: 0.807 MB / 0.4951 GB, free: 8.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.3142, allocations: 448.9 kB / 0.4955 GB, free: 8.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.3147, allocations: 417.2 kB / 0.4959 GB, free: 7.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.3148, allocations: 37.69 kB / 0.4959 GB, free: 7.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.3149, allocations: 244.5 kB / 0.4962 GB, free: 7.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3151, allocations: 134 kB / 0.4963 GB, free: 7.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.3151, allocations: 4 kB / 0.4963 GB, free: 7.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3152, allocations: 370.7 kB / 0.4966 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.3156, allocations: 159.9 kB / 0.4968 GB, free: 6.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.3161, allocations: 306.4 kB / 0.4971 GB, free: 6.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.3165, allocations: 208.7 kB / 0.4973 GB, free: 6.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3165, allocations: 0 / 0.4973 GB, free: 6.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009869/0.3175, allocations: 0.5243 MB / 0.4978 GB, free: 5.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.3176, allocations: 36.2 kB / 0.4978 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3176, allocations: 3.984 kB / 0.4978 GB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.3177, allocations: 53.64 kB / 0.4979 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.3182, allocations: 95.88 kB / 0.498 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.3203, allocations: 2.76 MB / 0.5007 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.3207, allocations: 71.55 kB / 0.5007 GB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3207, allocations: 16 kB / 0.5008 GB, free: 2.348 MB / 378.7 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.321, allocations: 165.8 kB / 0.5009 GB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.3211, allocations: 55.44 kB / 0.501 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.3212, allocations: 56.92 kB / 0.501 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3212, allocations: 11.94 kB / 0.501 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3212, allocations: 3.938 kB / 0.501 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009299/0.3221, allocations: 0.7739 MB / 0.5018 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.3237, allocations: 1.094 MB / 0.5029 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3238, allocations: 0 / 0.5029 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1754/0.4992, allocations: 95.14 kB / 0.503 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.4992, allocations: 1.281 kB / 0.503 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.4993, allocations: 12.91 kB / 0.503 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.4993, allocations: 1.469 kB / 0.503 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4993, allocations: 1.203 kB / 0.503 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.501, allocations: 0.7337 MB / 0.5037 GB, free: 93.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.5013, allocations: 171.7 kB / 0.5038 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.945e-05/0.5014, allocations: 11.33 kB / 0.5039 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.5018, allocations: 44.2 kB / 0.5039 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.5019, allocations: 25.2 kB / 0.5039 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.5019, allocations: 7.812 kB / 0.5039 GB, free: 93.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004829/0.5024, allocations: 335 kB / 0.5043 GB, free: 93.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5024, allocations: 4 kB / 0.5043 GB, free: 93.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00056/0.503, allocations: 149.3 kB / 0.5044 GB, free: 93.3 MB / 378.7 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.5032, allocations: 114.7 kB / 0.5045 GB, free: 93.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.5045, allocations: 0.6918 MB / 0.5052 GB, free: 92.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5045, allocations: 1.188 kB / 0.5052 GB, free: 92.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.505, allocations: 201.7 kB / 0.5054 GB, free: 92.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.5056, allocations: 132.9 kB / 0.5055 GB, free: 92.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.5073, allocations: 1.161 MB / 0.5066 GB, free: 92.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.5075, allocations: 0.8469 MB / 0.5075 GB, free: 91.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.5078, allocations: 69.77 kB / 0.5075 GB, free: 91.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.508, allocations: 40.89 kB / 0.5076 GB, free: 91.68 MB / 378.7 MB Notification: Performance of SimCode: time 4.4e-07/0.508, allocations: 0 / 0.5076 GB, free: 91.68 MB / 378.7 MB Notification: Performance of Templates: time 0.01234/0.5203, allocations: 7.952 MB / 0.5153 GB, free: 90.93 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (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 & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches