Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001871/0.001871, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.77/2.77, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 104.6 kB / 297.4 MB, free: 6.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003912, allocations: 8 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4446, allocations: 51.28 MB / 408.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.6155, allocations: 82.09 MB / 490.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.6158, allocations: 68.84 kB / 490.8 MB, free: 9.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04542/0.6613, allocations: 10.29 MB / 0.4894 GB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.6613, allocations: 0 / 0.4894 GB, free: 15.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.551e-05/0.6614, allocations: 16 kB / 0.4894 GB, free: 15.03 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.002489/0.6639, allocations: 0.8314 MB / 0.4902 GB, free: 14.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/0.664, allocations: 8.031 kB / 0.4902 GB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/0.6644, allocations: 68.19 kB / 0.4903 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.6656, allocations: 414.8 kB / 0.4906 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.6659, allocations: 71.25 kB / 0.4907 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.666, allocations: 32.38 kB / 0.4907 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.6676, allocations: 0.5073 MB / 0.4912 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.6677, allocations: 11.94 kB / 0.4913 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/0.6678, allocations: 12 kB / 0.4913 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.6678, allocations: 15.92 kB / 0.4913 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.6693, allocations: 383.8 kB / 0.4916 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.6738, allocations: 1.347 MB / 0.493 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.6753, allocations: 470.4 kB / 0.4934 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000676/0.676, allocations: 208.8 kB / 0.4936 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/0.6761, allocations: 4 kB / 0.4936 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.6761, allocations: 39.12 kB / 0.4936 GB, free: 10.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 4.549e-06/0.6762, allocations: 4 kB / 0.4937 GB, free: 10.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.003115/0.6793, allocations: 0.7974 MB / 0.4944 GB, free: 9.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003115/0.6796, allocations: 452.9 kB / 0.4949 GB, free: 8.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.6808, allocations: 474 kB / 0.4953 GB, free: 8.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.6809, allocations: 37.69 kB / 0.4954 GB, free: 8.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.6813, allocations: 248.5 kB / 0.4956 GB, free: 8.211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.6815, allocations: 134 kB / 0.4957 GB, free: 8.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.6815, allocations: 4 kB / 0.4957 GB, free: 8.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002548/0.6818, allocations: 366.7 kB / 0.4961 GB, free: 7.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006805/0.6825, allocations: 163.9 kB / 0.4962 GB, free: 7.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009378/0.6835, allocations: 310.3 kB / 0.4965 GB, free: 7.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.6849, allocations: 383.2 kB / 0.4969 GB, free: 6.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6849, allocations: 0 / 0.4969 GB, free: 6.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001935/0.6868, allocations: 0.5166 MB / 0.4974 GB, free: 6.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.776e-05/0.6869, allocations: 33.69 kB / 0.4974 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.687, allocations: 4.031 kB / 0.4974 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.6872, allocations: 53.64 kB / 0.4975 GB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.6879, allocations: 95.88 kB / 0.4976 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004192/0.6921, allocations: 2.748 MB / 0.5003 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009094/0.6931, allocations: 67.64 kB / 0.5003 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.6932, allocations: 12 kB / 0.5003 GB, free: 2.984 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.0006151/0.6938, allocations: 169.8 kB / 0.5005 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.6941, allocations: 59.28 kB / 0.5005 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.6944, allocations: 60.92 kB / 0.5006 GB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6944, allocations: 4 kB / 0.5006 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6944, allocations: 3.938 kB / 0.5006 GB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/0.6962, allocations: 0.7814 MB / 0.5014 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.6994, allocations: 1.087 MB / 0.5024 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.6994, allocations: 7.984 kB / 0.5024 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.7002, allocations: 95.88 kB / 0.5025 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.7002, allocations: 0 / 0.5025 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.7002, allocations: 12 kB / 0.5025 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7003, allocations: 0 / 0.5025 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7003, allocations: 0 / 0.5025 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3492/1.049, allocations: 0.7256 MB / 0.5033 GB, free: 94.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/1.05, allocations: 170 kB / 0.5034 GB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/1.051, allocations: 11.28 kB / 0.5034 GB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/1.051, allocations: 34.42 kB / 0.5035 GB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/1.051, allocations: 25.75 kB / 0.5035 GB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/1.052, allocations: 11.3 kB / 0.5035 GB, free: 94.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001097/1.053, allocations: 341.4 kB / 0.5038 GB, free: 94.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.053, allocations: 0.5 kB / 0.5038 GB, free: 94.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001375/1.054, allocations: 148.5 kB / 0.504 GB, free: 94.23 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.0004041/1.055, allocations: 127 kB / 0.5041 GB, free: 94.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002544/1.057, allocations: 0.6806 MB / 0.5048 GB, free: 93.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.057, allocations: 1.188 kB / 0.5048 GB, free: 93.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005244/1.062, allocations: 200.9 kB / 0.5049 GB, free: 93.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/1.064, allocations: 137.8 kB / 0.5051 GB, free: 93.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/1.068, allocations: 1.195 MB / 0.5062 GB, free: 93.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006786/1.069, allocations: 0.8373 MB / 0.5071 GB, free: 92.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/1.07, allocations: 52.02 kB / 0.5071 GB, free: 92.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/1.07, allocations: 0 / 0.5071 GB, free: 92.61 MB / 378.7 MB Notification: Performance of Templates: time 0.02673/1.096, allocations: 9.058 MB / 0.516 GB, free: 91.09 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches